Bug #13277 Updated: & in query_string are not handled
| From: | jeroen@php.net | Date: | Fri, 14 Sep 2001 22:14:30 +0000 |
| Subject: | Bug #13277 Updated: & in query_string are not handled | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65966@lists.php.net to get a copy of this message | ||
ID: 13277
Updated by: jeroen
Reported By: laurent@bearteam.org
Old Status: Open
Status: Bogus
Bug Type: Variables related
Operating System: Debian GNU/Linux
PHP Version: 4.0.6
New Comment:
This is wrong.
& is the way to specify & in HTML.
For example:
<a href="script.php?var1=value&var2=othervalue">Click here to
continue</a>
But the browser should (according to HTML-specs) request this uri:
script.php?var1=value&var2=othervalue
from internet (i.e., your script)
If the browser doesn't do that, it's a browser bug.
Previous Comments:
------------------------------------------------------------------------
[2001-09-12 20:00:05] laurent@bearteam.org
The query_string "a=1&b=2" and "a=1&b=2" should be equivalent, but
they are not with php. A workaround is to use arg_separator.input = ";&".
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13277&edit=1