spaces in URI

Igor Sysoev igor at sysoev.ru
Tue Sep 28 20:56:57 MSD 2010


On Tue, Sep 28, 2010 at 10:24:03AM -0400, cgarver wrote:

> Hello folks,
> 
> I'm tried both nginx 0.8.46 and 0.8.52 to reverse proxy a URI with a
> whitespace, but I'm having no luck.  Any URI without a space loads just
> fine, but one that contains a white space results in a "Bad Request -
> HTTP Error 400. The request is badly formed."   I verified that the
> patch reference above was in 0.8.46.  [The %20 substitution was missing
> from the proxy module so I added it but it didn't help.]
> 
> Are you folks about to reverse proxy a white space URI like
> "http://forum.nginx.org/siteX/storage/Nice Images/test-image.jpg" 
> That's not a valid URI.  I just wanted to give an example that shows the
> type of white space that is in my URI.

Could you show proxy_pass directive ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list