Bug #16966: convert form item names to "_" only for $GLOBALS, not for $HTTP_POST_VARS
| From: | danny dot milo at gmx dot net | Date: | Thu, 02 May 2002 13:52:44 +0000 |
| Subject: | Bug #16966: convert form item names to "_" only for $GLOBALS, not for $HTTP_POST_VARS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6734@lists.php.net to get a copy of this message | ||
From: danny.milo@gmx.net
Operating system: Linux
PHP version: 4.2.0
PHP Bug Type: Feature/Change Request
Bug description: convert form item names to "_" only for $GLOBALS, not for
$HTTP_POST_VARS
Hi!
I've been wondering for some time now:
Why its it that "." in form item names is _always_ converted to a "_"
character?
It would be sufficient to do so just in the global variables (for
register_globals = On), but why too for
$HTTP_POST_VARS["t_table.4322.some_field"] ? Its a hell to convert that
back...
I will switch to using arrays for form items now
($HTTP_POST_VARS["tables"]["t_table"][4322]["some_field"]), so its not
important for me anymore, but according to the RFC a "." _is_ allowed in
the form item's name!
Well if you don't mind, please E-Mail me.
Thanks :)
--
Edit bug report at http://bugs.php.net/?id=16966&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16966&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16966&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16966&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16966&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16966&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16966&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16966&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16966&r=submittedtwice