]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/filecheck/discussion.mdwn
filecheck: Fall back to testing for binary or plain text files if no mime type is...
[ikiwiki.git] / doc / plugins / filecheck / discussion.mdwn
index 1394d2f7b7d2b0986ffa23a9a8ae15d62af25119..f91950b7df39a894c63f54991c885f019cde73c1 100644 (file)
@@ -8,3 +8,10 @@ Would you be receptive to a patch that e.g. called File::MimeInfo::Magic::defaul
 if ::magic() returns undef?  --[[DavidBremner]]
 
 > Yes, that looks to be ok. --[[Joey]]
+
+>> OK, here is such a patch. One modification of previous behaviour is that 
+>> that if default returns undef, this is returned. As far as I understand
+>> the code/doc for File::MimeInfo, under is used only as an error return
+>> for ::default
+
+>>> Applied