Opened 2 years ago

Closed 2 years ago

#33988 closed Bug (duplicate)

URLValidator()('http:////test.com/') raise TypeError

Reported by: gatello-s Owned by: nobody
Component: Core (Other) Version: 3.2
Severity: Normal Keywords: URLValidator
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

from django.core.validators import URLValidator
URLValidator()('http:////test.com/')
raise TypeError
but must raise ValidationError

Change History (1)

comment:1 by Mariusz Felisiak, 2 years ago

Resolution: duplicate
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top