Re: redirect burps on unicode URLs

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marius Gedminas wrote:
> On Sun, Feb 28, 2010 at 05:05:51PM +0100, Wichert Akkerman wrote:
>> On 2010-2-26 18:25, Tres Seaver wrote:
>>> Wichert Akkerman wrote:
>>>> I see this as naming confusion. In this day and age every URL is
>>>> effectively an IRI, and every modern browser treats them that way. If
>>>> you look at http://jp.wikipedia.org/ you can see how well that works. I
>>>> do not see why zope.publisher should not be able to support that
>>>> transparently. Other systems such as Routes and repoze.bfg do.
>>> Browseers *display* what looks like unicode to the user, but they *pass*
>>> URL-encoded ASCII bytes to the server.
>> But why can't zope.publisher do that conversion? It don't see the point 
>> in requiring all the thousands of routines that call those functions to 
>> do that conversion when zope.publisher can easily do so itself.
> 
> +1
> 
> Just like zope.publisher converts Unicode strings returned by views into
> UTF-8 (or whatever encoding negotiated via Accept-Charset),
> response.redirect() ought to Do The Right Thing with Unicode URLs or
> IRLs or whatever they're called.

- -1.

Where is this "unicode URL" coming from?  URLs generated from code
should already be "correct".


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuLtdgACgkQ+gerLs4ltQ7lHwCgh//aPrrcaZ6StKVBGr8K1JaF
whIAoLheGkJ3w439F+FmLCrIv7NhIxqp
=7M8c
-----END PGP SIGNATURE-----

_______________________________________________
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.