Opened 9 years ago

Last modified 8 years ago

#26119 closed Bug

Catch ValueError while parsing urls in URLValidator — at Version 3

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 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 (3)

comment:1 by Christopher Grebs, 9 years ago

Description: modified (diff)
Has patch: set
Type: UncategorizedBug

comment:2 by Christopher Grebs, 9 years ago

Description: modified (diff)

comment:3 by Christopher Grebs, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top