summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2020-12-18 20:24:30 -0500
committerShaun McCance <shaunm@redhat.com>2020-12-18 20:24:30 -0500
commit51c28cdd0853aa2eda2de6454227450bdfd5634b (patch)
treed73cb6fc8c04c89db6eaf4b3deaa984d874e72fc
parent901865178e6d15f62cb939dce50a01abe3fbdb2c (diff)
downloadyelp-tools-51c28cdd0853aa2eda2de6454227450bdfd5634b.tar.gz
yelp-check.py: Add https CC URLs to hrefs allow list
-rw-r--r--tools/yelp-check.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/yelp-check.py b/tools/yelp-check.py
index 9754bd3..5a5afdf 100644
--- a/tools/yelp-check.py
+++ b/tools/yelp-check.py
@@ -192,8 +192,10 @@ class HrefsChecker (Checker):
# safelisting URLs that we use as identifiers
hrefs = {
- 'http://creativecommons.org/licenses/by-sa/3.0/': True,
- 'http://creativecommons.org/licenses/by-sa/3.0/us/': True
+ 'http://creativecommons.org/licenses/by-sa/3.0/': True,
+ 'https://creativecommons.org/licenses/by-sa/3.0/': True,
+ 'http://creativecommons.org/licenses/by-sa/3.0/us/': True,
+ 'https://creativecommons.org/licenses/by-sa/3.0/us/': True
}
retcode = 0