Bug #13704: QUERY_STRING empty with Multiviews
| From: | mail-php dot net at kimihia dot org dot nz | Date: | Wed, 17 Oct 2001 04:24:13 +0000 |
| Subject: | Bug #13704: QUERY_STRING empty with Multiviews | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-68088@lists.php.net to get a copy of this message | ||
From: mail-php.net@kimihia.org.nz
Operating system: Debian stable
PHP version: 4.0CVS-2001-10-17
PHP Bug Type: Apache related
Bug description: QUERY_STRING empty with Multiviews
Apache/1.3.22 with PHP pulled from CVS on October 14 (perhaps a bit later).
PHP statically linked in.
When MultiViews is used, QUERY_STRING is empty.
EG:
http://w/dump_var?a=b
http://w/dump_var.php?a=b
The second correctly has $a == 'b', but the first does not.
print_r($HTTP_SERVER_VARS) says ...
Array
(
[SCRIPT_FILENAME] => .../example.php
[SCRIPT_URI] => .../example
[SCRIPT_URL] => .../example
[SERVER_SOFTWARE] => Apache/1.3.22 (Unix) PHP/4.0.8-dev
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => .../example?alpha=yes?=yes
)
Example: http://bla.crysm.net/toys/php-4.0.8-multiview/
(Thanks to jmcastagnetto and sit on irc.openprojects.net)
--
Edit bug report at: http://bugs.php.net/?id=13704&edit=1