aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/filecheck/discussion.mdwn
blob: 6f01a5c00dd0102357ff3cd96cd7de10074a213e (plain)
1
2
3
4
5
6
7
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]]