So in browser i request a file that i know it exists

3a1c2aa4d488ae4d?s=40?f=78

but it gives me a 404 error and in log says that it couldn't find file named 3a1c2aa4d488ae4d. For some reason it cuts the part of the filename after ? and tries to open that file instead.

I would understand the problem in windows but this is Centos.

Any ideas how to fix it?

link|improve this question

20% accept rate
feedback

1 Answer

up vote 5 down vote accepted

The ? will be considered as parameters, as the request will be considered as HTML query string. You need to encode the special symbols so that they are treated as characters and not command parts.

Better yet, use sensible file names.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.