php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13704 QUERY_STRING empty with Multiviews
Submitted: 2001-10-17 00:24 UTC Modified: 2001-10-30 22:48 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mail-php dot net at kimihia dot org dot nz Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0CVS-2001-10-17 OS: Debian stable
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mail-php dot net at kimihia dot org dot nz
New email:
PHP Version: OS:

 

 [2001-10-17 00:24 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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-19 05:20 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

 [2001-10-19 05:32 UTC] derick@php.net
Can you file this report with the apache guys too?

Derick
 [2001-10-19 05:36 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.
 [2001-10-19 05:40 UTC] derick@php.net
Then report it as a bug with them?

Derick
 [2001-10-19 05:55 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
 [2001-10-30 22:48 UTC] sniper@php.net
Apache bug -> closed. (not bogus)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC