I’m running the latest version of nginx. When I try to serve a file with
a “%20” in the name (example funny%20picture.jpg) I get a 404 error. The
filename itself has the “%20” in it, not a space. But nginx refuses to
serve the file. Any ideas on a configuration change I can make so that
this works?
On Sun, Nov 27, 2011 at 11:20:17AM -0500, jstalin wrote:
I’m running the latest version of nginx. When I try to serve a file with
a “%20” in the name (example funny%20picture.jpg) I get a 404 error. The
filename itself has the “%20” in it, not a space. But nginx refuses to
serve the file. Any ideas on a configuration change I can make so that
this works?
If you want to get “funny%20picture.jpg”, you should encode “%” in
request
as “%25”: “funny%2520picture.jpg”.
–
Igor S.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.