URLField throws ValueError instead of ValidationError on clean
forms.URLField( ).clean('////]@N.AN')
results in:
ValueError: Invalid IPv6 URL
Traceback (most recent call last):
File "basic_fuzzer.py", line 22, in TestOneInput
File "fuzzers.py", line 350, in test_forms_URLField
File "django/forms/fields.py", line 151, in clean
File "django/forms/fields.py", line 136, in run_validators
File "django/core/validators.py", line 130, in __call__
File "urllib/parse.py", line 440, in urlsplit
Change History
(6)
| Triage Stage: |
Unreviewed → Accepted
|
| Component: |
Uncategorized → Core (Other)
|
| Needs tests: |
unset
|
| Type: |
Uncategorized → Bug
|
| Owner: |
changed from nobody to Pedro Schlickmann Mendes
|
| Status: |
new → assigned
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|