www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Youichirou Koga <y-k...@apache.or.jp>
Subject mod_negotiation/8539: When MultiViews is enabled, QUERY_STRING isn't passed to CGI script correctly
Date Mon, 15 Oct 2001 06:24:50 GMT

>Number:         8539
>Category:       mod_negotiation
>Synopsis:       When MultiViews is enabled, QUERY_STRING isn't passed to CGI script correctly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Oct 14 23:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     y-koga@apache.or.jp
>Release:        1.3.22
>Organization:
apache
>Environment:
FreeBSD 4.4-STABLE
>Description:
If MultiViews is enabled, QUERY_STRING isn't passed to CGI script correctly:

e.g.
OK: /cgi-bin/prog.cgi?aaa => QUERY_SCRIPT="aaa"
NG: /cgi-bin/prog?aaa => QUERY_SCRIPT=""
>How-To-Repeat:
<Directory "/path/to/cgi-bin">
Options +MultiViews
</Directory>

and try GET /cgi-bin/prog.cgi?aaa and GET /cgi-bin/prog?aaa
>Fix:
changes about mod_negotiation.c 1.106->1.107 causes this problem.
I think that apache doesn't set r->args correctly, but I have no idea to fix this problem.
>Release-Note:
>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 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!     ]
 
 


Mime
View raw message