Space in URI

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 ?

++ Jerome

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

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…