[Zope-dev] redirect burps on unicode URLs
Christian Theune
ct at gocept.com
Mon Mar 1 11:14:01 EST 2010
Hi,
On 03/01/2010 05:04 PM, Adam GROSZER wrote:
> Hello Christian,
>
> Isn't it that anything below chr(128) converts to utf-8 as the same
> character? That would mean that slash and ampersand will stay as it
> is.
No. The spec says that if you want to use a reserved character
(depending on the scheme) you need to quote it.
> OTOH encoding is done only on non-ascii characters. Supposed that the
> encoding is utf-8. What's hardwired into absoluteURL.
But then again, it's not UTF-8 for all of the URL. No spec ever says
"code path elements to UTF-8".
Christian
--
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
More information about the Zope-Dev
mailing list