Last modified: 2013-07-25 21:24:47 UTC
From <https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FUploadBlacklist.git/e996b431806a6bf6e045a3dccd642b0e28cbb127/UploadBlacklist.php>: --- * Callback for UploadVerification hook; calculates the file's * MD5 hash and checks it against a list of blacklisted files. * If it matches, the upload will be denied. --- --- $hash = sha1_file( $tempName ); --- The comment is wrong/outdated.
Change 76010 had a related patch set uploaded by Legoktm: UploadBlacklist uses sha1 hash, not md5 https://gerrit.wikimedia.org/r/76010
Change 76010 merged by jenkins-bot: UploadBlacklist uses sha1 hash, not md5 https://gerrit.wikimedia.org/r/76010