whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Allow for missing www. prefix
Date Tue, 30 Jun 2020 11:42:50 GMT
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 aa7f821  Allow for missing www. prefix
aa7f821 is described below

commit aa7f8219b1c06c24ab88432678048179d3c07b75
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Jun 30 12:42:40 2020 +0100

    Allow for missing www. prefix
---
 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 0844eef..631db11 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -511,7 +511,7 @@ def _checkDownloadPage(path, tlp, version)
         # will have been reported by check_hash_loc
       end
     # mirror downloads need to be treated differently
-    elsif h =~ %r{^https?://www.apache.org/dyn/.*action=download}
+    elsif h =~ %r{^https?://(www\.)?apache\.org/dyn/.*action=download}
       if $NOFOLLOW
           I "Skipping download artifact #{h}"
       else


Mime
View raw message