From b78f6e81ae65503ee0620a5aef11f84145aacbe2 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Tue, 3 Dec 2013 14:47:08 -0400 Subject: [PATCH] a weird bug with png file uploads --- ...pe_is_application__47__octet-stream....mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 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 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]]