From: http://joeyh.name/ Date: Tue, 3 Dec 2013 18:55:39 +0000 (-0400) Subject: (no commit message) X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/e0a463f944270e03a81c463315f43aff83bafdd2 --- diff --git a/doc/bugs/can__39__t_upload_a_simple_png_image:_prohibited_by_allowed__95__attachments___40__file_MIME_type_is_application__47__octet-stream....mdwn b/doc/bugs/can__39__t_upload_a_simple_png_image:_prohibited_by_allowed__95__attachments___40__file_MIME_type_is_application__47__octet-stream....mdwn index f5dca8f9b..da8fcd5d9 100644 --- a/doc/bugs/can__39__t_upload_a_simple_png_image:_prohibited_by_allowed__95__attachments___40__file_MIME_type_is_application__47__octet-stream....mdwn +++ b/doc/bugs/can__39__t_upload_a_simple_png_image:_prohibited_by_allowed__95__attachments___40__file_MIME_type_is_application__47__octet-stream....mdwn @@ -16,3 +16,7 @@ This is ikiwiki 3.20130904.1~bpo70+1 on Debian wheezy, with some patches applied * [[bugs/crashes_in_the_python_proxy_even_if_disabled]] Weird... --[[anarcat]] + +> Well, the pagespec seems to be matching correctly, given that it thinks the mime type is application/octet-stream. +> If File::MimeInfo::Magic is installed, ikiwiki uses it. If not, or if it fails to find any mime type, it falls back to using `file -bi`, +> and if that fails, it falls back to a default of application/octet-stream. --[[Joey]]