#36059 [Bgs]: change in $_GET behavior

From: Date: Wed, 18 Jan 2006 14:48:26 +0000
Subject: #36059 [Bgs]: change in $_GET behavior
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92132@lists.php.net to get a copy of this message
ID: 36059 User updated by: allen dot montz at ipayx dot com Reported By: allen dot montz at ipayx dot com Status: Bogus Bug Type: *Web Server problem Operating System: Linux ES 4 PHP Version: 5.1.2 New Comment: hmm ok. Maybe Apache changed. Previous Comments: ------------------------------------------------------------------------ [2006-01-17 21:03:44] sniper@php.net No such change has been done. You're doing something wrong. ------------------------------------------------------------------------ [2006-01-17 20:52:17] allen dot montz at ipayx dot com Description: ------------ Until PHP 5.0.5 with magic_quotes = OFF we preserved '+' characters in $_GET variables. Since PHP 5.1.1 it appears that $_GET is automatically urlencoded and in order to recover '+' we need to urldecode and ereg_replace(' ', '+', ...). If this is new standard behavior please provide me with reference on when this change has taken place and the reason behind it. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36059&edit=1

« previous php.bugs (#92132) next »