Bug #67755 [NEW]: Malformation HTTP GET request in array form with equal sign

From: Date: Mon, 04 Aug 2014 08:01:53 +0000
Subject: Bug #67755 [NEW]: Malformation HTTP GET request in array form with equal sign
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186952@lists.php.net to get a copy of this message
From: fethi dot kus at tribal-im dot com Operating system: Centos 6.5 PHP version: 5.5.15 Package: Streams related Bug Type: Bug Bug description:Malformation HTTP GET request in array form with equal sign Description: ------------ An HTTP GET request in array form with equal sign gives an unexpected result. Test script: --------------- //Http Request #index.php?query1[=]=1 print_r($_GET); //or print_r(filter_input_array(INPUT_GET)); Expected result: ---------------- Array ( [query1] => Array ( [=] => 1 ) ) Actual result: -------------- Array ( [query1_] => ]=1 ) -- Edit bug report at https://bugs.php.net/bug.php?id=67755&edit=1 --

« previous php.bugs (#186952) next »