httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39485] New: - Nested file extensions, If file names include .php, the file will be run as x-httpd-php even if the true file extension is other (ex: .txt)
Date Thu, 04 May 2006 18:47:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39485>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39485

           Summary: Nested file extensions, If file names include .php, the
                    file will be run as x-httpd-php even if the true file
                    extension is other (ex: .txt)
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
               URL: http://liboss.westlib.asu.edu/files/blah.php.phps.txt
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bridgemonkey@gmail.com


In Apache 2, php files with nested extensions such as .php.phps.txt or
.phps.php.txt will run as a x-httpd-php. All other extensions are ignored even
if the true file extension is .txt or .phps or even .pl. No matter where it's
placed, if the .php is found in the file name, it is run as x-httpd-php.

I tried moving the "AddType application/x-httpd-php .php" to the bottom of the
list just for kicks, but it made no difference.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message