Re: redirect burps on unicode URLs

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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 · [email protected]
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.