You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Wouter de Jong <ma...@maddog2k.nl> on 2001/12/27 21:40:07 UTC

mod_negotiation/9280: ENV -> QUERY_STRING is empty

>Number:         9280
>Category:       mod_negotiation
>Synopsis:       ENV -> QUERY_STRING is empty
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec 27 12:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     maddog2k@maddog2k.nl
>Release:        1.3.22
>Organization:
apache
>Environment:
FreeBSD trash 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #1: Sun Dec 23 17:54:40 CET 2001     root@trash:/usr/obj/usr/src/sys/CORE  i386
Linux dishy 2.4.17 #1 Fri Dec 21 20:18:34 CET 2001 i686 unknown
>Description:
If MultiViews are enabled, and you request a document '/foo' (where for example foo.cgi or foo.php exists), then the QUERY_STRING you provide vanishes.
For example:

/foo?test -> QUERY_STRING: ""
/foo.php?test -> QUERY_STRING: "test"

>How-To-Repeat:
Take a randomly installed Apache 1.3.22, with mod_negotiation and 'MultiViews' enabled.
Then use for example a simple perl or php-script that echo's the QUERY_STRING.

If you provide the .extension (so mod_negotiation doesn't get invoked (i guess)) it'll display it. Else, the QUERY_STRING valuewill be empty.
>Fix:
Nope...
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]