Opened 3 years ago
Closed 3 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
Note:
See TracTickets
for help on using tickets.
Duplicate of #33367 fixed in Django 4.1 (see e8b4feddc34ffe5759ec21da8fa027e86e653f1c)