#26119: Catch ValueError while parsing urls in URLValidator
--------------------------+--------------------------------------
Reporter: EnTeQuAk | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------+--------------------------------------
Changes (by EnTeQuAk):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* has_patch: 0 => 1
* type: Uncategorized => Bug
Old 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+
New 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+
Pull Request: https://github.com/django/django/pull/6010
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.e4b47307e7d258ff52d9b73b406c762c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.