From: elaine_sit at yahoo dot com
Operating system: Windows 2000
PHP version: 4.3.2
PHP Bug Type: Output Control
Bug description: @$_GET[""] doesn't work properly
Description:
------------
@$_GET[""] doesn't work properly (a backslace is added) when some encoded
chinese character contains "%5C" such as "�\" or "�\".
Reproduce code:
---------------
=========================================================
In file "test1.php"
$name="�\���\";
HEADER("Location:test2.php?message=".urlencode($name));
=========================================================
In file "test2.php"
$smessage = @$GET["message"];
echo urlencode($smessage)."<BR>";
=========================================================
Expected result:
----------------
In page "test2.php"
A message of "�\���\" should be displayed properly.
Actual result:
--------------
However, a message of "�\\���\\" is displayed where 2 "\" is added.
--
Edit bug report at http://bugs.php.net/?id=24197&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24197&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24197&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24197&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24197&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24197&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24197&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24197&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24197&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24197&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24197&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24197&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24197&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24197&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24197&r=gnused