#12989: URLValidator's verify_exists fails on IDN (Internationalized Domain
Names)
-------------------------------------+--------------------------------------
Reporter: frasern | Owner: nobody
Status: new | Milestone: 1.2
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by frasern):
* has_patch: 0 => 1
Comment:
I too tried in 2.4, 2.5 and 2.6 and couldn't get it to work.
My patch and tests are now attached, but as per the django-developers
thread, I think URL validation could do with a bit more thought.
The test case checks for the existence of עברית.idn.icann.org. I tend to
think it would be better not to rely on a third-party domain name here.
Perhaps someone could configure a subdomain such as
idn-τεsτ.djangoproject.com to serve a simple 200 OK response and we could
use that instead.
--
Ticket URL: <http://code.djangoproject.com/ticket/12989#comment:4>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.