Welcome! Log In Create A New Profile

Advanced

Re: Having semi-colon in query

June 22, 2010 04:06PM
On Tue, Jun 22, 2010 at 12:51:09PM -0700, Ankur Gupta wrote:

> Hi Ian,
>
> So is it an nginx (or php-fpm?) bug that the value of 'y' shows as 2
> instead of '2;3'?

nginx does not process query string.

> -Giri
>
> On Tue, Jun 22, 2010 at 12:28 PM, Ian Hobson <ian@ianhobson.co.uk> wrote:
>
> > On 22/06/2010 20:07, Ankur Gupta wrote:
> >
> >> Hi all,
> >>
> >> I have a URL of the form: /abc?x=1&y=2;3. The nginx server passes the
> >> request to php-fpm thread. When I try to query for the value of 'y' I get
> >> '2' instead of '2;3'. Is this expected? Are semicolons somehow considered
> >> to be query delimiters?
> >>
> >> Hi Ankur,
> >
> > There is no standard for delimiter, only common practise. You can use what
> > you like.
> >
> > The W3C has been recommending semicolon as a delimiter since 1994 or so.
> >
> > That said, sending '&amp;' so that it comes back as '&' is common, correct,
> > conforms to standards and expected by users and search engines.
> >
> >
> > Regards
> >
> > Ian
> >
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> >

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


--
Igor Sysoev
http://sysoev.ru/en/

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

Having semi-colon in query

Ankur Gupta June 22, 2010 03:14PM

Re: Having semi-colon in query

hobson42 June 22, 2010 03:38PM

Re: Having semi-colon in query

Ankur Gupta June 22, 2010 03:58PM

Re: Having semi-colon in query

Igor Sysoev June 22, 2010 04:06PM

Re: Having semi-colon in query

hobson42 June 22, 2010 05:34PM

Re: Having semi-colon in query

Ankur Gupta June 22, 2010 09:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
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