Opened 9 years ago

Last modified 8 years ago

#26119 closed Bug

Catch ValueError while parsing urls in URLValidator — at Initial Version

Reported by: Christopher Grebs Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Django uses urllib.urlsplit to parse an URL but in certain cases this is failing on URLs the regular expressions in URLValidator deem valid.

This appears to be a problem in 1.6+

Change History (0)

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