From: https://id.koumbit.net/anarcat Date: Tue, 3 Dec 2013 18:47:08 +0000 (-0400) Subject: a weird bug with png file uploads X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/b78f6e81ae65503ee0620a5aef11f84145aacbe2 a weird bug with png file uploads --- 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 new file mode 100644 index 000000000..f5dca8f9b --- /dev/null +++ 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 @@ -0,0 +1,18 @@ +When uploading a PNG file on the wiki, through the webinterface or anonymous git, i get: + + icon.png prohibited by allowed_attachments (file MIME type is application/octet-stream, not application/vnd.oasis.opendocument.*) + +`attachment_allowed_attachments` is set to: + + virusfree() and (mimetype(image/*) or mimetype(text/*) or mimetype(application/x-gzip) or mimetype(application/vnd.oasis.opendocument.*)) and maxsize(2048kb) + +Maybe a bug in the [[filecheck]] plugin? + +This is ikiwiki 3.20130904.1~bpo70+1 on Debian wheezy, with some patches applied, namely: + + * [[todo/option_to_send_only_the_diff_in_notifyemail]] + * [[bugs/syslog_fails_with_non-ASCII_wikinames]] + * [[bugs/notifyemail_fails_with_some_openid_providers]] + * [[bugs/crashes_in_the_python_proxy_even_if_disabled]] + +Weird... --[[anarcat]]