1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/validators
Mike Edmunds 9a891c387f Refs #36007 -- Added IDNA 2008 test case for URLValidator.
Test a domain that is valid under IDNA 2008 but not IDNA 2003. This
helps verify that the branch in URLValidator which calls punycode() is
not actually being used for IDNs. punycode() implements IDNA 2003, so
the domain would fail to validate if that branch were active for IDNs.
2024-12-13 16:10:34 +01:00
..
__init__.py
tests.py Refs #36007 -- Added IDNA 2008 test case for URLValidator. 2024-12-13 16:10:34 +01:00