https://issues.apache.org/bugzilla/show_bug.cgi?id=50434
Summary: file name based matching should not consider files
that are named just ".extension"
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_mime
AssignedTo: [email protected]
ReportedBy: [email protected]
Guess this is more or less related to issue #50357,... but I would suggest the
following independently of that one.
When mod_mime determines type/charset/handler/encoding/etc. based on the file
name by their extensions it should not consider the "first extension" of files
that start with a ".".
e.g. having a file ".png" should _not_ lead to type "image/png", as it's (IMHO)
more likely to be just a "hidden" file named "png" than a PNG picture.
I would however suggest to consider "secondary extensions" of files starting
with a ".", e.g. ".png.ascii" is IMHO likely to be a "hidden" file, named
"png", in ascii charset.
So for files starting with a ".":
.ignore.consider.consider...
This of course should also be done by the mappings set up via the TypeMap file.
This makes also indices generated by mod_autoindex looking more sane.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]