#22612 [NEW]: POST variable names and values are garbled
| From: | dave at bcs dot co dot nz | Date: | Sat, 08 Mar 2003 22:23:19 +0000 |
| Subject: | #22612 [NEW]: POST variable names and values are garbled | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-35130@lists.php.net to get a copy of this message | ||
From: dave at bcs dot co dot nz
Operating system: Linux
PHP version: 4CVS-2003-03-08 (stable)
PHP Bug Type: CGI related
Bug description: POST variable names and values are garbled
Try the following, and keep pressing the button, noting the POST array
reported...
I get reults like:
Array ( [key+AAA-ðcÂdÂ0eÂg°gÂPhÂ] => Press Me+AAA- )
Things work OK if either the '+' or '-' is not there.
<html>
<body>
<?php print_r($_POST) ; ?>
<form method='post' action=''>
<input type='submit' name='key' value='Press Me'/>+9-9
</form>
</body>
</html>
--
Edit bug report at http://bugs.php.net/?id=22612&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22612&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22612&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22612&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22612&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22612&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22612&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22612&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22612&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22612&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22612&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22612&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22612&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22612&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22612&r=gnused