diff options
author | bremner <bremner@web> | 2008-08-28 20:02:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-08-28 20:02:55 -0400 |
commit | 9692651f643b8634c07aa74caf16f5e911b1585c (patch) | |
tree | f6bc2472c28e57cbedbfca4939da1e5744f03600 /doc/plugins/filecheck | |
parent | 09dcd82cc59cd17e9aa194c46c4ca6941de5db25 (diff) | |
download | ikiwiki-9692651f643b8634c07aa74caf16f5e911b1585c.tar ikiwiki-9692651f643b8634c07aa74caf16f5e911b1585c.tar.gz |
question about recognizing text/plain
Diffstat (limited to 'doc/plugins/filecheck')
-rw-r--r-- | doc/plugins/filecheck/discussion.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/plugins/filecheck/discussion.mdwn b/doc/plugins/filecheck/discussion.mdwn new file mode 100644 index 000000000..6f01a5c00 --- /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]] |