PHP 4.0 Bug #7987 Updated: POST/GET: string with NULL values not parsed correctly

From: Date: Mon, 27 Nov 2000 07:44:17 +0000
Subject: PHP 4.0 Bug #7987 Updated: POST/GET: string with NULL values not parsed correctly
Groups: php.dev 
Request: Send a blank email to php-dev+get-39190@lists.php.net to get a copy of this message
ID: 7987 User Update by: andbe611@student.liu.se Status: Open Bug Type: HTTP related Description: POST/GET: string with NULL values not parsed correctly Ok, I might have been to brief. I have an application posting the string "var=hello%00world" to a script: <?php print $HTTP_POST_VARS["var"]; ?> And the "var" gets trucated at the NULL character. (I've tried it with and without magic_quotes_gpc) Previous Comments: --------------------------------------------------------------------------- [2000-11-27 02:28:35] andbe611@student.liu.se When posting a string like this: var=hello%00world The $HTTP_POST_VARS["var"] only contains "hello". I use php.ini-dist '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/apache/conf' '--with-mysql' '--enable-track-vars' '--enable-ftp' '--enable-wddx' --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7987

« previous php.dev (#39190) next »