www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Beckert <a...@dagstuhl.de>
Subject mod_negotiation/4465: the query string given to a type map file is not passed to SSI-document
Date Mon, 24 May 1999 05:35:13 GMT

>Number:         4465
>Category:       mod_negotiation
>Synopsis:       the query string given to a type map file is not passed to SSI-document
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun May 23 22:40:00 PDT 1999
>Last-Modified:
>Originator:     axel@dagstuhl.de
>Organization:
apache
>Release:        1.2.1, 1.3.4, 1.3.6
>Environment:
SunOS fsinfo 4.1.3 1 sun4c unknown, gcc version 2.8.1
with Apache 1.3.4 PHP/3.0.6
(Also tested it with Apache 1.2.1 PHP/FI-2.0b12 and 1.3.6 mod_macro/1.1.1 on
 other machines)
>Description:
The query string of an http request to a type map is not passed to the SSI 
document, which is selected by content negotiation.

An example:

request: 
GET /~abe/test/test.var?test HTTP/1.0

type map test.var contains: (Also tried it with text/x-server-parsed-html)
---8<---
URI: test.shtml
Content-type: text/html
--->8---

In test.shtml there is a printenv SSI command, which shows among other lines:
QUERY_STRING=

So the query string is not passed to the SSI document called via content
negotiation.
>How-To-Repeat:
http://fsinfo.cs.uni-sb.de/~abe/test/test.var?test
(Apache 1.3.4 with the above type map.)

http://www.dagstuhl.de:8042/test.var?test
(Apache 1.3.6 with same type map)
>Fix:
Haven't looked at the source...
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[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!         ]




Mime
View raw message