]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/filecheck.pm
Revert "Fixed git clone link"
[git.ikiwiki.info.git] / IkiWiki / Plugin / filecheck.pm
index 3b0a7b3148d4edc2bb5bf1c8d11af474dc28a1c7..4f4e67489a41c51ecae344119362f0ea611d481a 100644 (file)
@@ -161,7 +161,7 @@ sub match_mimetype ($$;@) {
        }
 
        my $regexp=IkiWiki::glob2re($wanted);
-       if ($mimetype!~/^$regexp$/i) {
+       if ($mimetype!~$regexp) {
                return IkiWiki::FailReason->new("file MIME type is $mimetype, not $wanted");
        }
        else {