You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/05/19 16:45:10 UTC

DO NOT REPLY [Bug 29090] New: - Multiple extensions incorrectly handled if one of them is unknown

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=29090>.
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=29090

Multiple extensions incorrectly handled if one of them is unknown

           Summary: Multiple extensions incorrectly handled if one of them
                    is unknown
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_mime
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: OvdSpek@LIACS.NL


If you have a filename like "file.mpg.torrent" and the mpg extension is known, 
but the torrent extension is unknown, the mpg extension will be used.
However, this is not correct.

The docs state:
> If more than one extension is given which maps onto the same type of meta-
> information, then the one to the right will be used, except for languages and 
> content encodings. 
.torrent is clearly not a language or content encoding extension.

An extension shouldn't be used if extensions to the right of it are unknown.

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