You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Diego Liziero <pm...@emmenet.it> on 2000/09/17 02:08:34 UTC
mod_cgi/6544: PATH_TRANSLATED expands to the first "basename-common" file found (mod_speling?)
>Number: 6544
>Category: mod_cgi
>Synopsis: PATH_TRANSLATED expands to the first "basename-common" file found (mod_speling?)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Sep 16 17:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: pmcq@emmenet.it
>Release: 1.3.12
>Organization:
apache
>Environment:
Linux s0 2.2.16-RAID #3 Tue Aug 1 16:34:26 CEST 2000 i686 unknown
egcs-2.91.66
Server: Apache/1.3.12 (Unix) PHP/4.0.1pl2 DAV/1.0.1 FrontPage/4.0.4.3
CheckSpelling On
>Description:
The value of PATH_TRANSLATED is buggy.
In our server, after the upgrade to apache 1.3.12 (same config files) several
cgi scripts stopped to work.
See http://www.emmenet.it/cgi-bin/bug/site/Welcome (printenv script)
PATH_TRANSLATED expands to the first "basename-common" file found, in this case
PATH_TRANSLATED="/usr/local/apache/htdocs/site/Welcome.secret-file"
>How-To-Repeat:
http://www.emmenet.it/cgi-bin/bug/site/Welcome
bug is the printenv script and show that
PATH_TRANSLATED="/usr/local/apache/htdocs/site/Welcome.secret-file"
instead of
PATH_TRANSLATED="/usr/local/apache/htdocs/site/Welcome"
as it should be.
>Fix:
The behaviour is similar to mod_speling URL remapping...
>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! ]