Welcome! Log In Create A New Profile

Advanced

Re: 404 error when %20 is in file name

November 27, 2011 12:22PM
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 Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

404 error when %20 is in file name

jstalin November 27, 2011 11:20AM

Re: 404 error when %20 is in file name

Igor Sysoev November 27, 2011 12:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 216
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready