Catch ValueError while parsing urls in URLValidator
Django uses urllib.urlsplit to parse an URL but in certain cases this is failing on URLs the regular expressions in URLValidator deems valid.
This appears to be a problem at least in 1.6+, probably since the URLValidator exists.
Pull Request: https://github.com/django/django/pull/6010
Change History
(8)
| Description: |
modified (diff)
|
| Has patch: |
set
|
| Type: |
Uncategorized → Bug
|
| Description: |
modified (diff)
|
| Description: |
modified (diff)
|
| Triage Stage: |
Unreviewed → Accepted
|
| Version: |
1.9 → master
|
| Patch needs improvement: |
set
|
| Component: |
Forms → Core (Other)
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
Can confirm on 1.8 upwards.