PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #13704 QUERY_STRING empty with Multiviews
Submitted:17 Oct 2001 12:24am UTC Modified: 30 Oct 2001 10:48pm UTC
From:mail-php dot net at kimihia dot org dot nz Assigned to:
Status:Closed Category:Apache related
Version:4.0CVS-2001-10-17 OS:Debian stable
Votes:1 Avg. Score:5.0 ± 0.0 Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%) Same OS:0 (0.0%)
View/Vote Developer Edit Submission

[17 Oct 2001 12:24am UTC] mail-php dot net at kimihia dot org dot 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)
[19 Oct 2001 5:20am UTC] mail-php dot net at kimihia dot org dot 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
[19 Oct 2001 5:32am UTC] derick@php.net
Can you file this report with the apache guys too?

Derick
[19 Oct 2001 5:36am UTC] mail-php dot net at kimihia dot org dot nz
I'm just poking their newsgroup and bug database and can't find anything
similiar.
[19 Oct 2001 5:40am UTC] derick@php.net
Then report it as a bug with them?

Derick
[19 Oct 2001 5:55am UTC] mail-php dot net at kimihia dot org dot nz
It's been filed as "mod_negotiation/8582".

http://bugs.apache.org/index.cgi/full/8582
[30 Oct 2001 10:48pm UTC] sniper@php.net
Apache bug -> closed. (not bogus)

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC