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 2006/06/30 00:07:16 UTC

DO NOT REPLY [Bug 39935] New: - AddDescription does not do literal comparisons on file extensions

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

           Summary: AddDescription does not do literal comparisons on file
                    extensions
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_autoindex
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vjong@jandjgraphics.com


If you do in the server config:

AddDescription "C source file" .c
AddDescription "MS Visual Basic class file" .cls

and go to an autoindexed page with .cls files, the description for these files
will show the description for the .c file.

The workaround for situations like this is define single character file
extensions after file extensions with more characters starting with that same
character.

Ex.

AddDescription "Java Class File" .class
AddDescription "MS Visual Basic Class File" .cls
AddDescription "C Source File" .c

-- 
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