caudium-devel AT caudium.net
Caudium Developer mailing list.

[caudium-devel] Bug in URL variables parsing


chronological Thread 
  • From: Bertrand LUPART <bertrand.lupart AT linkeo.com>
  • To: caudium-devel AT caudium.net
  • Subject: [caudium-devel] Bug in URL variables parsing
  • Date: Wed, 21 Feb 2007 18:49:38 +0100

Hello,


I figured weird results in variables parsing in the URLs, when combining '+' in attributes names, and having empty variables:


?code+1=foo&code+2=bar&baz=gazonk
  "variables": ([ /* 3 elements */
      "baz": "gazonk",
      "code 1": "foo",
      "code 2": "bar"
    ]),


?code+1=foo&code+2=&baz=gazonk
  "variables": ([ /* 3 elements */
      "baz": "gazonk",
      "code 1": "foo",
      "code+2": ""
    ]),


?code+1=&code+2=&baz=gazonk
  "variables": ([ /* 3 elements */
      "code+1": "",
      "code+2": "",
      27621384: "gazonk"
    ]),


?code+1=&code+2=bar&baz=gazonk
  "variables": ([ /* 3 elements */
      "code+1": "",
      27621384: "gazonk",
      27624552: "bar"
    ]),


I didn't had these errors on 1.4.3, because some pages served with 1.4.3 now fails when served with 1.4.8.


Seems like C code strikes again.
Is there a C jockey around that could have a quick look at? :)

--
Bertrand LUPART
                  Linkeo.com | http://www.linkeo.com/
           +33 1 72 71 71 84 | 17, rue de la Banque - F75002 Paris
        http://www.linkeo.com/signatures/bertrand-lupart/





Archive powered by MhonArc 2.6.10.

§