@@ -783,14 +783,14 @@ public function getQueryStringNormalizationData()
783
783
784
784
// GET parameters, that are submitted from a HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
785
785
// PHP also converts "+" to spaces when filling the global _GET or when using the function parse_str.
786
- ['him=John%20Doe&her=Jane+Doe ' , 'her=Jane%20Doe&him=John%20Doe ' , 'normalizes spaces in both encodings "%20" and "+" ' ],
786
+ ['baz=Foo%20Baz&bar=Foo+Bar ' , 'bar=Foo%20Bar&baz=Foo%20Baz ' , 'normalizes spaces in both encodings "%20" and "+" ' ],
787
787
788
788
['foo[]=1&foo[]=2 ' , 'foo%5B%5D=1&foo%5B%5D=2 ' , 'allows array notation ' ],
789
789
['foo=1&foo=2 ' , 'foo=1&foo=2 ' , 'allows repeated parameters ' ],
790
790
['pa%3Dram=foo%26bar%3Dbaz&test=test ' , 'pa%3Dram=foo%26bar%3Dbaz&test=test ' , 'works with encoded delimiters ' ],
791
791
['0 ' , '0 ' , 'allows "0" ' ],
792
- ['Jane Doe&John%20Doe ' , 'Jane%20Doe&John%20Doe ' , 'normalizes encoding in keys ' ],
793
- ['her=Jane Doe&him=John%20Doe ' , 'her=Jane%20Doe&him=John%20Doe ' , 'normalizes encoding in values ' ],
792
+ ['Foo Bar&Foo%20Baz ' , 'Foo%20Bar&Foo%20Baz ' , 'normalizes encoding in keys ' ],
793
+ ['bar=Foo Bar&baz=Foo%20Baz ' , 'bar=Foo%20Bar&baz=Foo%20Baz ' , 'normalizes encoding in values ' ],
794
794
['foo=bar&&&test&& ' , 'foo=bar&test ' , 'removes unneeded delimiters ' ],
795
795
['formula=e=m*c^2 ' , 'formula=e%3Dm%2Ac%5E2 ' , 'correctly treats only the first "=" as delimiter and the next as value ' ],
796
796
0 commit comments