#43162 [Com]: GET date variable name not binary-safe on null bytes

From: Date: Wed, 31 Oct 2007 16:41:15 +0000
Subject: #43162 [Com]: GET date variable name not binary-safe on null bytes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-119154@lists.php.net to get a copy of this message
ID: 43162 Comment by: crescentfreshpot at yahoo dot com Reported By: ryat at wolvez dot org Status: Open Bug Type: *General Issues PHP Version: 5.2.4 New Comment: php is written in C. In C the null byte represents the end of a string. I don't think php can work around this. Previous Comments: ------------------------------------------------------------------------ [2007-10-31 13:23:33] ryat at wolvez dot org Description: ------------ GET date variable name not binary-safe on null bytes Reproduce code: --------------- <?php print_r($_GET); ?> http://127.0.0.1/test.php?a%00aaaa=test Actual result: -------------- Array ( [a] => test ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43162&edit=1

« previous php.bugs (#119154) next »