X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9692651f643b8634c07aa74caf16f5e911b1585c..216f5b5b203ca3ea9ddb3f6d8c2e03dae35aeb7e:/doc/plugins/filecheck/discussion.mdwn?ds=inline diff --git a/doc/plugins/filecheck/discussion.mdwn b/doc/plugins/filecheck/discussion.mdwn index 6f01a5c00..f91950b7d 100644 --- a/doc/plugins/filecheck/discussion.mdwn +++ b/doc/plugins/filecheck/discussion.mdwn @@ -6,3 +6,12 @@ There is a heuristic ::default that decides between text/plain and application/o Would you be receptive to a patch that e.g. called File::MimeInfo::Magic::default() 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