Marco has uploaded a new change for review. https://gerrit.wikimedia.org/r/130966
Change subject: Less false positives for MEDIATYPE_VIDEO (Importing pull 23 from github) bug 63584 Remove the ffmpeg2theora String to suppress false positives. ...................................................................... Less false positives for MEDIATYPE_VIDEO (Importing pull 23 from github) bug 63584 Remove the ffmpeg2theora String to suppress false positives. Change-Id: Ib39ed06f895624b55d15a001cb0a2cd3129f4bb0 --- M includes/MimeMagic.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/66/130966/1 diff --git a/includes/MimeMagic.php b/includes/MimeMagic.php index 3448c6a..f68e109 100644 --- a/includes/MimeMagic.php +++ b/includes/MimeMagic.php @@ -979,7 +979,7 @@ $head = fread( $f, 256 ); fclose( $f ); - $head = strtolower( $head ); + $head = str_replace( 'ffmpeg2theora', '', strtolower( $head ) ); // This is an UGLY HACK, file should be parsed correctly if ( strpos( $head, 'theora' ) !== false ) { -- To view, visit https://gerrit.wikimedia.org/r/130966 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib39ed06f895624b55d15a001cb0a2cd3129f4bb0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Marco <mai...@live.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits