1 When uploading a PNG file on the wiki, through the webinterface or anonymous git, i get:
3 icon.png prohibited by allowed_attachments (file MIME type is application/octet-stream, not application/vnd.oasis.opendocument.*)
5 `attachment_allowed_attachments` is set to:
7 virusfree() and (mimetype(image/*) or mimetype(text/*) or mimetype(application/x-gzip) or mimetype(application/vnd.oasis.opendocument.*)) and maxsize(2048kb)
9 Maybe a bug in the [[filecheck]] plugin?
11 This is ikiwiki 3.20130904.1~bpo70+1 on Debian wheezy, with some patches applied, namely:
13 * [[todo/option_to_send_only_the_diff_in_notifyemail]]
14 * [[bugs/syslog_fails_with_non-ASCII_wikinames]]
15 * [[bugs/notifyemail_fails_with_some_openid_providers]]
16 * [[bugs/crashes_in_the_python_proxy_even_if_disabled]]
18 Weird... --[[anarcat]]
20 > Well, the pagespec seems to be matching correctly, given that it thinks the mime type is application/octet-stream.
21 > 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`,
22 > and if that fails, it falls back to a default of application/octet-stream. --[[Joey]]