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

       Web browser: ---
             Bug #: 35583
           Summary: GitInfo::isSHA1 returns true for non-sha1 values
           Product: MediaWiki
           Version: 1.20-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10350
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10350
patch hopefully solving the problem

SHA1 are hex values, bur regex checks for [0-9A-Z] instead of [0-9A-F]

Proposed patch is in attachment.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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