This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients apollo13, aronacher, cvrebert, grahamd, serhiy.storchaka, terry.reedy
Date 2014-01-10.23:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389396703.74.0.294298759381.issue20138@psf.upfronthosting.co.za>
In-reply-to
Content
Could you please show us the value of env?

Perhaps it is werkzeug creates wrongly quoted URL. request_uri() just calls urllib.parse.quote() which works good.

>>> from urllib.parse import quote, unquote
>>> quote('/\N{SNOWMAN}')
'/%E2%98%83'
>>> unquote('/%E2%98%83') == '/\N{SNOWMAN}'
True

Your result looks as

>>> quote('/\N{SNOWMAN}'.encode().decode('latin1'))
'/%C3%A2%C2%98%C2%83'
History
Date User Action Args
2014-01-10 23:31:43serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, aronacher, grahamd, cvrebert, apollo13
2014-01-10 23:31:43serhiy.storchakasetmessageid: <1389396703.74.0.294298759381.issue20138@psf.upfronthosting.co.za>
2014-01-10 23:31:43serhiy.storchakalinkissue20138 messages
2014-01-10 23:31:43serhiy.storchakacreate