aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__....
diff options
context:
space:
mode:
authormx.david.rix@3bf9592fa655d6681eedf8add3d3b830d00a40d3 <mxdavidrix@web>2016-01-22 12:04:56 -0400
committeradmin <admin@branchable.com>2016-01-22 12:04:56 -0400
commit974033106773beedab0bfd30e194e1c107ecb2eb (patch)
treecd38fa13dd52f103690f75b3f383c862768cc607 /doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn
parent1f773784ed4a7cdba1595de8dc1d468ac4455e3b (diff)
downloadikiwiki-974033106773beedab0bfd30e194e1c107ecb2eb.tar
ikiwiki-974033106773beedab0bfd30e194e1c107ecb2eb.tar.gz
created
Diffstat (limited to 'doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn')
-rw-r--r--doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn b/doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn
new file mode 100644
index 000000000..f3baaac99
--- /dev/null
+++ b/doc/bugs/Images_detected_as_application__47__octet-stream__44___not_image__47____42__.mdwn
@@ -0,0 +1,23 @@
+Steps to reproduce:
+
+ * Running ikiwiki version 3.20130904.1ubuntu1 on Ubuntu 14.04 LTS
+ * Also installed `perlmagick` and `libxml-writer-perl`
+ * Enable attachment plugin
+ * Set attachment rule to `mimetype(image/*)`
+ * Attempt to attach an image (e.g. downloaded version of https://commons.wikimedia.org/wiki/Category:Lolcats#/media/File:You_gotz_a_lolcat.jpg )
+
+What should happen:
+
+ * Attachment is uploaded
+
+What happens instead:
+
+ * Error message: `prohibited by allowed_attachments (file MIME type is application/octet-stream, not image/*)`
+
+Workaround:
+
+ * Change attachment rule to `mimetype(image/*) or application/octet-stream`
+
+Other notes:
+
+ * Downloading and uploading from a Windows machine via Firefox