This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b48c04  Tighten match rule
8b48c04 is described below

commit 8b48c042ad756dd37ddf8dcefbb43f636f61f3c9
Author: Sebb <[email protected]>
AuthorDate: Wed Apr 29 14:28:57 2020 +0100

    Tighten match rule
---
 tools/download_check.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index 19f597e..b694b78 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -510,7 +510,7 @@ def _checkDownloadPage(path, tlp, version)
           E "Could not find link for '#{name}' in page: '#{h}' (missing or 
archived)"
         end
       end
-    elsif h =~ %r{\.(md5|sha.*)$}
+    elsif h =~ %r{\.(md5|sha\d*)$}
       host,_,_ = check_hash_loc(h,tlp)
       if $NOFOLLOW
         I "Skipping deprecated hash #{h}"

Reply via email to