This appears to be a problem in 1.6+
--
Ticket URL: <https://code.djangoproject.com/ticket/26119>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* 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>
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+
>
> Pull Request: https://github.com/django/django/pull/6010
New description:
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
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:2>
Old description:
> 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
New description:
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
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:3>
* version: 1.9 => master
* stage: Unreviewed => Accepted
Comment:
Can confirm on 1.8 upwards.
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:4>
* needs_better_patch: 0 => 1
Comment:
As noted on the pull request, looks like a few test cases are missing.
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:5>
* component: Forms => Core (Other)
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:6>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"a9e188ccd6315d278795355a53bce6c1a63f5a50" a9e188c]:
{{{
#!CommitTicketReference repository=""
revision="a9e188ccd6315d278795355a53bce6c1a63f5a50"
Fixed #26119 -- Fixed URLValidator crash on URLs with brackets.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:7>
Comment (by Tim Graham <timograham@…>):
In [changeset:"712838a53d03fd6644da8bce4c3a7b2e19f56df2" 712838a]:
{{{
#!CommitTicketReference repository=""
revision="712838a53d03fd6644da8bce4c3a7b2e19f56df2"
[1.10.x] Fixed #26119 -- Fixed URLValidator crash on URLs with brackets.
Backport of a9e188ccd6315d278795355a53bce6c1a63f5a50 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26119#comment:8>