diff options
author | Shaun McCance <shaunm@redhat.com> | 2020-12-18 20:24:30 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2020-12-18 20:24:30 -0500 |
commit | 51c28cdd0853aa2eda2de6454227450bdfd5634b (patch) | |
tree | d73cb6fc8c04c89db6eaf4b3deaa984d874e72fc | |
parent | 901865178e6d15f62cb939dce50a01abe3fbdb2c (diff) | |
download | yelp-tools-51c28cdd0853aa2eda2de6454227450bdfd5634b.tar.gz |
yelp-check.py: Add https CC URLs to hrefs allow list
-rw-r--r-- | tools/yelp-check.py | 6 |
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 |