You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/30 11:42:50 UTC
[whimsy] branch master updated: Allow for missing www. prefix
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 <se...@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