X-Accel-Redirect doesn't URL-decode paths

gustavo nginx-forum at nginx.us
Tue Sep 7 19:55:16 MSD 2010


Hi, Maxim.

Thank you very much for your response.

Maxim Dounin Wrote:
> X-Accel-Redirect expected to contain non-encoded
> URI.  This isn't 
> really right, but it's how it currently works.

It's not only against HTTP, it's also a big limitation because gateways
like Python's mod_wsgi (or any gateway for Python/WSGI) would refuse to
send decoded values in HTTP headers.

Do you know if is there a workaround for this?

Thanks in advance.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,128004,128020#msg-128020




More information about the nginx mailing list