X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9692651f643b8634c07aa74caf16f5e911b1585c..338f0fde60d396cd20d697282313fff13b12f4eb:/doc/plugins/filecheck/discussion.mdwn 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