mirror of
https://github.com/django/django.git
synced 2024-12-26 02:56:25 +00:00
2e65d56156
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. |
||
---|---|---|
.. | ||
__init__.py | ||
invalid_urls.txt | ||
tests.py | ||
valid_urls.txt |