space in URI

Igor Sysoev is at rambler-co.ru
Tue Jun 16 18:47:41 MSD 2009


On Tue, Jun 16, 2009 at 04:25:54PM +0200, J?r?me Loyet wrote:

> hi igor,
> 
> I have those kind of error logs :
> 
> 2009/06/16 16:08:51 [info] 19293#0: *179 client sent invalid request
> while reading client request line, client: 1.1.1.1, server:
> www.sample.org,, request: "GET /
> recherche.php?recMot=resultat concours
> 2009&type=Simple&recPer=per&submit=OK HTTP/1.1"
> 
> I figured out it was due to the space characters in the recMot parameter
> 
> I'm sure before this test the same request works. I've changed a lot
> of things between (nginx version and configuration). Do you have any
> idea why, since the last test, the behaviour changed ?

nginx never allowed spaces in URI. Probably before the reuquest was
/recherche.php?recMot=resultat%20concours%202009...


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





More information about the nginx mailing list