#37533 [Bgs]: $_GET variable transform "+" in spaces
| From: | mails at mail dot pt | Date: | Sat, 20 May 2006 10:56:12 +0000 |
| Subject: | #37533 [Bgs]: $_GET variable transform "+" in spaces | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97401@lists.php.net to get a copy of this message | ||
ID: 37533
User updated by: mails at mail dot pt
Reported By: mails at mail dot pt
Status: Bogus
Bug Type: URL related
Operating System: winXP
PHP Version: 4.4.2
New Comment:
Thanks johannes for you quikly anwser, but i already tried to check the
manual, could you tell me better where i can get more information about
this specification ?
Thx a lot
Previous Comments:
------------------------------------------------------------------------
[2006-05-20 07:08:14] johannes@php.net
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
.
------------------------------------------------------------------------
[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