Bug #13704 Updated: QUERY_STRING empty with Multiviews
| From: | mail-php dot net at kimihia dot org dot nz | Date: | Fri, 19 Oct 2001 09:55:44 +0000 |
| Subject: | Bug #13704 Updated: QUERY_STRING empty with Multiviews | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68322@lists.php.net to get a copy of this message | ||
ID: 13704
User updated by: mail-php.net@kimihia.org.nz
Reported By: mail-php.net@kimihia.org.nz
Old Status: Feedback
Status: Open
Bug Type: Apache related
Operating System: Debian stable
PHP Version: 4.0CVS-2001-10-17
New Comment:
It's been filed as "mod_negotiation/8582".
http://bugs.apache.org/index.cgi/full/8582
Previous Comments:
------------------------------------------------------------------------
[2001-10-19 05:40:57] derick@php.net
Then report it as a bug with them?
Derick
------------------------------------------------------------------------
[2001-10-19 05:36:50] mail-php.net@kimihia.org.nz
I'm just poking their newsgroup and bug database and can't find anything similiar.
------------------------------------------------------------------------
[2001-10-19 05:32:11] derick@php.net
Can you file this report with the apache guys too?
Derick
------------------------------------------------------------------------
[2001-10-19 05:20:04] mail-php.net@kimihia.org.nz
I changed back to PHP 4.0.6 which didn't have this problem. Still using Apache 1.3.22.
The problem still manifests, which leaves me to suspect the only thing that has changed: Apache
1.3.22
Apache 1.3.20 + PHP 4.0.6 = working
Apache 1.3.22 + PHP 4.0.6 = broken
Apache 1.3.22 + PHP 4.0.8cvs = broken
------------------------------------------------------------------------
[2001-10-17 00:24:12] mail-php.net@kimihia.org.nz
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 this bug report at http://bugs.php.net/?id=13704&edit=1