Bug #16759: POST cutting names
| From: | puskajler at telecom dot sk | Date: | Tue, 23 Apr 2002 15:35:38 +0000 |
| Subject: | Bug #16759: POST cutting names | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-5675@lists.php.net to get a copy of this message | ||
From: puskajler@telecom.sk
Operating system: win2000, IIS 5.0
PHP version: 4.2.0
PHP Bug Type: IIS related
Bug description: POST cutting names
Using the POST method cause cutting the first character
from the name of the form control. Using the GET method works as expected
(no cutting).
example:
<FORM METHOD=POST ACTION="debug.php">
<INPUT TYPE="submit" NAME="action" VALUE="val">
</FORM>
gives result:
[_POST] => Array
(
[ction] => val
)
quick-fix:
just prefix all NAMEs with any char
(NAME="action" becomes NAME="_action")
--
Edit bug report at http://bugs.php.net/?id=16759&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16759&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16759&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16759&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16759&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16759&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16759&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16759&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16759&r=submittedtwice