#26886 [Bgs->Opn]: imported GET variables replace spaces with underlines
| From: | fgasper at freeshell dot org | Date: | Mon, 12 Jan 2004 22:50:11 +0000 |
| Subject: | #26886 [Bgs->Opn]: imported GET variables replace spaces with underlines | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53219@lists.php.net to get a copy of this message | ||
ID: 26886
User updated by: fgasper at freeshell dot org
Reported By: fgasper at freeshell dot org
-Status: Bogus
+Status: Open
-Bug Type: Variables related
+Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.3.4
New Comment:
Hmm - I'll change it to a feature request, then? If the variable name
*needs* to change, as in the case of import_request_variables, then I
can see the prudence of the current behavior, but in general I still
think leaving the variable name unchanged by default is a better idea
than doing the underline substitution automatically.
Previous Comments:
------------------------------------------------------------------------
[2004-01-12 17:44:55] iliaa@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
This is expected behavior.
------------------------------------------------------------------------
[2004-01-12 13:48:43] fgasper at freeshell dot org
Description:
------------
Submitting a variable named "Document Name" via GET
causes the variable to show up in the $_REQUEST array as
"Document_Name". This seems to me like it should only be done in the
case of import_request_variables or some such, not at the global level.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26886&edit=1