#27125: Can not support django Internationalized domain name in URLValidation
-----------------------------+--------------------------------------
Reporter: RaminFP | Owner: nobody
Type: New feature | Status: closed
Component: Core (URLs) | Version: 1.10
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by claudep):
* status: new => closed
* resolution: => worksforme
Comment:
I cannot reproduce the issue on my system, but I guess the problem may
come from the fact you are passing a bytestring instead of an Unicode
string to validate. Try prefixing your URL with the `u` prefix (needed on
Python 2 only).
Validating non-ASCII URLs is tested in Django, see
https://github.com/django/django/blob/master/tests/validators/valid_urls.txt
--
Ticket URL: <https://code.djangoproject.com/ticket/27125#comment:3>
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/065.14fd868325c3f6ba7e3bd4fa09552c55%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.