400 Error on % !!

shahzaib shahzaib shahzaib.cb at gmail.com
Mon Nov 23 08:40:43 UTC 2015


Hi,

  Thanks for the reply, now we've tons of these URLs which are not properly
encoded. Can we redirect '%' request to the same URL by excluding '%' ?
Such as

http://domain.com/video/100%-working

to

http://domain.com/video/100-working

Regards.
Shahzaib

On Mon, Nov 23, 2015 at 1:20 PM, nanaya <me at myconan.net> wrote:

>
>
> On Mon, Nov 23, 2015, at 05:17 PM, shahzaib shahzaib wrote:
> > Hi,
> >
> >    We've encountered with 400 Bad request error on nginx reverse proxy in
> > front of apache. Here is the attached link :
> >
> > http://prntscr.com/95wlsl
> >
> > If we remove '%' from the URL, it works fine. What could be the issue ?
> >
>
> `%-` isn't a valid percent-encoding (and thus a bad request). Try
> encoding the url properly.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151123/0308bd3b/attachment.html>


More information about the nginx mailing list