Opened 8 years ago

Last modified 8 years ago

#26119 closed Bug

Catch ValueError while parsing urls in URLValidator — at Version 2

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 in 1.6+

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

Change History (2)

comment:1 by Christopher Grebs, 8 years ago

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

comment:2 by Christopher Grebs, 8 years ago

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