#31692 [NEW]: Plus sign stripped from string
| From: | robert dot chambers at roche dot com | Date: | Tue, 25 Jan 2005 19:25:51 +0000 |
| Subject: | #31692 [NEW]: Plus sign stripped from string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-72800@lists.php.net to get a copy of this message | ||
From: robert dot chambers at roche dot com
Operating system: Win2000
PHP version: 5.0.3
PHP Bug Type: Scripting Engine problem
Bug description: Plus sign stripped from string
Description:
------------
_SERVER["REQUEST_URI"]
/dev/dynamicpages/edit.php?T=WEB_APPS_SECURITY&R='AAAVEDAAXAAA+f4AAV'
_SERVER["QUERY_STRING"] T=WEB_APPS_SECURITY&R='AAAVEDAAXAAA+f4AAV'
BUT...
_REQUEST["T"] WEB_APPS_SECURITY
_REQUEST["R"] 'AAAVEDAAXAAA f4AAV'
AND
_GET["T"] WEB_APPS_SECURITY
_GET["R"] 'AAAVEDAAXAAA f4AAV'
What Happened to my "PLUS" sign ???
Reproduce code:
---------------
test.php?T='AAAVEDAAXAAA+f4AAV'
<?
$var = $_REQUEST["T"];
print($var);
?>
Expected result:
----------------
I expected my "PLUS" sign to be in my string.
Actual result:
--------------
'AAAVEDAAXAAA f4AAV'
--
Edit bug report at http://bugs.php.net/?id=31692&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31692&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31692&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31692&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31692&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31692&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31692&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31692&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31692&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31692&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31692&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31692&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31692&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31692&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31692&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31692&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31692&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31692&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31692&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31692&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31692&r=mysqlcfg