[Django] #33988: URLValidator()('http:////test.com/') raise TypeError

5 views
Skip to first unread message

Django

unread,
Sep 7, 2022, 2:45:57 AM9/7/22
to django-...@googlegroups.com
#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.

Django

unread,
Sep 7, 2022, 2:54:58 AM9/7/22
to django-...@googlegroups.com
#33988: URLValidator()('http:////test.com/') raise TypeError
------------------------------+--------------------------------------
Reporter: gatello-s | Owner: nobody
Type: Bug | Status: closed

Component: Core (Other) | Version: 3.2
Severity: Normal | Resolution: duplicate

Keywords: URLValidator | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #33367 fixed in Django 4.1 (see
e8b4feddc34ffe5759ec21da8fa027e86e653f1c)

--
Ticket URL: <https://code.djangoproject.com/ticket/33988#comment:1>

Reply all
Reply to author
Forward
0 new messages