#33988: URLValidator()('http:////
test.com/') raise TypeError
----------------------------------------+------------------------------
Reporter: gatello-s | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 3.2
Severity: Normal | Keywords: URLValidator
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------------+------------------------------
from django.core.validators import URLValidator
URLValidator()('http:////
test.com/')
raise TypeError
but must raise ValidationError
--
Ticket URL: <https://code.djangoproject.com/ticket/33988>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.