www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyler Laird <kyler...@lairds.com>
Subject mod_cgi/8810: CGI environment incorrect when MultiViews used
Date Tue, 20 Nov 2001 15:31:22 GMT

>Number:         8810
>Category:       mod_cgi
>Synopsis:       CGI environment incorrect when MultiViews used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 20 07:40:00 PST 2001
>Originator:     kyler_ap@lairds.com
>Release:        1.3.22
Linux ns 2.4.15-pre4 #1 SMP Tue Nov 13 16:01:32 EST 2001 i686 unknown
The environment variables QUERY_STRING(!!!) and SCRIPT_NAME are not
set correctly when MultiViews is used to get to a CGI script.

QUERY_STRING is not set at all and SCRIPT_NAME has the script's base name
and PATH_INFO inserted into it.
No.  I'm guessing it's a by-product of some of the security "enhancements"
but I haven't gotten into them.

For now, I'm pulling QUERY_STRING from REQUEST_URI but that's just wrong.
 [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!     ]

View raw message