>Number:         3630
>Category:       general
>Synopsis:       File list shows bomb icon for any file "*core"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan  6 21:20:01 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2+?
>Environment:
Running Solaris 2.5.1 with current recommended patches.
>Description:
If you use Apache to automatically generate a fancy index, it will auto-
matically give you icons for various files and types.  If the file ends
with the string "core," apache assumes it is a core file and sends back
the bomb icon be default; in my example, this "file" is actually a unix
directory named "mscore."
>How-To-Repeat:
I have a directory that contains the two directories:

  drwxr-xr-x   2 russell  staff       1024 Oct  7 23:01 mscore/
  drwxr-xr-x   2 russell  staff       1024 Oct  7 23:01 mscores/

Browsing this directory using the Apache web server (ie. fancy indexing),
the first directory has a "bomb" as its icon while the second has a
folder.

In my srm.conf file, the following lines appear:

  Line 56: AddIcon /icons/bomb.gif core
  Line 60: AddIcon /icons/folder.gif ^^DIRECTORY^^


Changing the order in which they appear in the config file does not
fix the problem.
>Fix:
File types or magic numbers should override names in all cases.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[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!         ]



Reply via email to