Hi all,

in order to use blobstore on google app engine we have to be able to
handle redirection back from google's upload API.  when we are re-
directed back all variables come from google in unicode.

the fix i have is to add the following line just before the return
from wsgiapp() in gaehandler.py (line 73):
    #HACK to deal with utf-8 encoded info when redirected to URLs from
GAE
    env['PATH_INFO'] = str(env['PATH_INFO'])

2 questions:
 - is this evil, and there is a better way to do it?
 - any objections to adding it to trunk so that next time i upgrade i
don't loose the change again? :)

thanks!

Christian

Reply via email to