#20003: URLValidator does not accept urls with usernames or passwords in them
-------------------------------------+-------------------------------------
Reporter: marshall@… | Owner: Tim
| Graham <timograham@…>
Type: Bug | Status: closed
Component: Core (Other) | Version: 1.5
Severity: Normal | Resolution: fixed
Keywords: URLValidator | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* owner: => Tim Graham <timograham@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"2e65d56156b622e2393dee1af66e9c799a51924f"]:
{{{
#!CommitTicketReference repository=""
revision="2e65d56156b622e2393dee1af66e9c799a51924f"
Fixed #20003 -- Improved and extended URLValidator
This adds support for authentication data (`user:password`) in URLs,
IPv6 addresses, and unicode domains.
The test suite has been improved by adding test URLs from
http://mathiasbynens.be/demo/url-regex (with a few adjustments,
like allowing local and reserved IPs).
The previous URL validation regex failed this test suite on 13
occasions, the validator was updated based on
https://gist.github.com/dperini/729294.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20003#comment:23>
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/079.0456411d270973441708f78b5c9eb110%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.