Opened 9 years ago

Last modified 8 years ago

#26119 closed Bug

Catch ValueError while parsing urls in URLValidator — at Version 1

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 (last modified by Christopher Grebs)

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+

Pull Request: https://github.com/django/django/pull/6010

Change History (1)

comment:1 by Christopher Grebs, 9 years ago

Description: modified (diff)
Has patch: set
Type: UncategorizedBug
Note: See TracTickets for help on using tickets.
Back to Top