https://bugzilla.wikimedia.org/show_bug.cgi?id=52057

       Web browser: ---
            Bug ID: 52057
           Summary: UploadBlacklist needs a comment tweak
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: [other]
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to