On 21 March 2012 10:46, tonthon <[email protected]> wrote: > Hi, > I'm using mod_wsgi 3.3-2 under a debian 6 system. > When I use this simple wsgi script : > """ > def application(environ, start_response): > print environ > start_response('200 OK', [('Content-Type', 'text/plain')]) > yield 'Hello World' > """ > and I go to /testé or /test%C3%A9 > I get the following in my log : > > ... , 'PATH_INFO': '/test\\xc3\\xa9', ... > > I'd expect : > '/test\xc3\xa9' > > Is there any configuration turnaround or did I missed something ?
>From memory that is only a display issue with how stuff output using print is shown in Apache error logs. That is, Apache possible escapes the backslashes. Try opening a file yourself and write the data out to it and see what you get. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
