Welcome! Log In Create A New Profile

Advanced

Re: Why does this URL result in a 400 (Bad Request) error?

November 03, 2009 04:56PM
On Tue, Nov 03, 2009 at 09:44:17PM +0000, John Moore wrote:

> Igor Sysoev wrote:
> > On Tue, Nov 03, 2009 at 08:07:25PM +0000, John Moore wrote:
> >
> >
> >> Hello,
> >>
> >> I'm puzzled by a problem we've been getting with URLs like this:
> >>
> >>
> >> /webserviceakqa-geraldoflanagan_ais_JEzKjKps%2B0%2FAynL0G17OWg?line=cMyYNDWTMJCOFAMGPMHE
> >>
> >> nginx (version 0.6.35) is returning a Bad Request error, response code
> >> 400. The problem seems to be in the URL encoding of the string after the
> >> '_ais_' part - when there are no escaped characters (such as %2B), no
> >> error is returned. If it is a deliberate feature, is there some way I
> >> can bypass it?
> >>
> >
> > In my tests 0.5.36, 0.6.39, 0.7.63, 0.8.22 try to open
> > "/path/to/webserviceakqa-geraldoflanagan_ais_JEzKjKps+0/AynL0G17OWg"
> > and return 404. You may try to set error_log to info level to see 400 error
> > reason.
> >
> >
> Thanks, Igor. It may just be to do with copying and pasting to the
> mailing list, but your URL is actually different - the problem section
> is not URL encoded ('JEzKjKps+0/AynL0G17OWg' instead of
> 'JEzKjKps%2B0%2FAynL0G17OWg'). It appears to be the URL encoding which
> is actually causing the problem.

I tested escaped URL "...s%2B0%2FA...", nginx unescaped it and tried to
open the file.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Why does this URL result in a 400 (Bad Request) error?

John Moore November 03, 2009 03:14PM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 03, 2009 04:18PM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 03, 2009 04:50PM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 03, 2009 04:56PM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 03, 2009 05:02PM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 03, 2009 05:20PM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 04:48AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 05:00AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 05:20AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 05:30AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 05:58AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 06:18AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 06:50AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 07:00AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 07:20AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 07:38AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 07:30AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 07:38AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 08:18AM

Re: Why does this URL result in a 400 (Bad Request) error?

Igor Sysoev November 04, 2009 08:44AM

Re: Why does this URL result in a 400 (Bad Request) error?

John Moore November 04, 2009 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 336
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready