#37533 [Opn->Bgs]: $_GET variable transform "+" in spaces
ID: 37533
Updated by: johannes@php.net
Reported By: mails at mail dot pt
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: winXP
PHP Version: 4.4.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2006-05-20 03:42:24] mails at mail dot pt
Description:
------------
The $_GET[] variable has the values of the fields passed in the
queryString, but it's normal if the value of one field has the symbole
'+' the result of $_GET[] would have a 'space' replacing it ?
It's not report in the manual that the $_GET do this kind of thing.
Reproduce code:
---------------
If my page.php have this code:
die($_GET["id"]);
Expected result:
----------------
and if i pass this url:
http://localhost/page.php?id=2983+09283
the result should be is "2983+09283"
Actual result:
--------------
the result should be is "2983 09283"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37533&edit=1
Thread (3 messages)