DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16908>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16908 mod_mime_magic incorrectly handles unrecognized files Summary: mod_mime_magic incorrectly handles unrecognized files Product: Apache httpd-1.3 Version: 1.3.27 Platform: PC OS/Version: FreeBSD Status: NEW Severity: Normal Priority: Other Component: Other mods AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] there is a bug in mod_mime_magic, due to which mod_mime_magic sets content type for a file, that it can not actually recognize, to text/plain and returns successful status. This happens because ascmagic() sets type to 'text/plain' and reurns success even if all magic check have failed. In addition to that, even if ascmagic() would behave correctly, module would anyway set content type to application/octet-stream and returned success. Such a behaviour (1) overrides DefaultType parameter and makes it useless in the presense of mod_mime_magic and (2) puts too much intelegence in mod_mime_magic by making a decision about 'last resort' content type, instead of honestly returning an error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
