Re: http arrays
| From: | Jochem Maas | Date: | Fri, 27 Apr 2007 15:46:05 +0000 |
| Subject: | Re: http arrays | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29077@lists.php.net to get a copy of this message | ||
sorry for the noise - having gone back and tested again I can
no longer reproduce my original problem (the OP seemingly had the
same issue).
whatever problem I was having, related to encoding of square brackets,
seems to have disappeared. sometimes I feel like I'm living in the twilight zone :-P
today there is no spoon.
Michael Wallner wrote:
> Jochem Maas wrote:
>
>> I'll take your word on it (although I can't be sure exactly what it is that you
>> expected),
>> which means the change has been reverted, or the input parsing stuff has been changed to
>> recognize escaped square brackets as if they were not escaped - I know for sure
>> that http_build_query() did escape quare brackets in 5.1.6 and that url query strings
>> that included escaped square brackets were not parsed into [nested] arrays.
>
> "expected" means that I get
>
> array(1) {
> ["a"]=>
> array(1) {
> [0]=>
> string(1) "1"
> }
> }
>
>
> for get.php?a%5B%5D=1
>