#16501: validators.py don't like unicode slug
-------------------------------------+-------------------------------------
Reporter: norn | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Core (Other)
Version: 1.3 | Severity: Normal
Resolution: | Keywords: unicode, slug
Triage Stage: Design | Has patch: 0
decision needed | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Comment (by norn):
Replying to [comment:4 aaugustin]:
> Replying to [comment:3 justinlilly]:
> > Non-ASCII letters are completely valid in URL schemes.
>
> Yes, since RFC 3986, it's possible to use non-ASCII characters in URLs
without ambiguities: the charset must be UTF-8.
>
> That RFC was published is 2005. Browser vendors may not have changed it
immediately (historically, most browsers defaulted to latin1 in western
languages), and some people still use browsers from a few years ago. I
don't know exactly what's the current status. We need to check how
mainstream browsers react to an URL like "http://localhost/how-to-brew-
café/" before proceeding: do they properly utf-8-encode and percent-encode
it?
[[BR]]
Well, why should we fear of browser incompatibility to pre-2005 standards
in Django to be released in 2011/2012?
Django 1.0 to 1.3 do not allow utf8 in slug, but world is changing. If
RFC3986 was approved in 2005, then django have to comply it.
I am sorry if my tone seems not friendly. English is not my native
language, but I am definitely do not want to offense anybody. I am just
trying to solve the problem and communicate in the most effecient way
without formal shell. Peace!
--
Ticket URL: <https://code.djangoproject.com/ticket/16501#comment:5>
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 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.