projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dcd82
)
question about recognizing text/plain
author
bremner
<bremner@web>
Fri, 29 Aug 2008 00:02:55 +0000
(20:02 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 29 Aug 2008 00:02:55 +0000
(20:02 -0400)
doc/plugins/filecheck/discussion.mdwn
[new file with mode: 0644]
patch
|
blob
diff --git a/doc/plugins/filecheck/discussion.mdwn
b/doc/plugins/filecheck/discussion.mdwn
new file mode 100644
(file)
index 0000000..
6f01a5c
--- /dev/null
+++ b/
doc/plugins/filecheck/discussion.mdwn
@@ -0,0
+1,8
@@
+First, thanks again for making this plugin.
+
+I don't know if this is a problem for [[plugins/attachment]], but there seems to
+be no way to detect text/plain using File::MimeInfo::Magic::magic().
+There is a heuristic ::default that decides between text/plain and application/octet-stream.
+
+Would you be receptive to a patch that e.g. called File::MimeInfo::Magic::default()
+if ::magic() returns undef? --[[DavidBremner]]