[yelp-tools] yelp-check.py: Add https CC URLs to hrefs allow list
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-tools] yelp-check.py: Add https CC URLs to hrefs allow list
- Date: Sat, 19 Dec 2020 01:24:58 +0000 (UTC)
commit 51c28cdd0853aa2eda2de6454227450bdfd5634b
Author: Shaun McCance <shaunm redhat com>
Date: Fri Dec 18 20:24:30 2020 -0500
yelp-check.py: Add https CC URLs to hrefs allow list
tools/yelp-check.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tools/yelp-check.py b/tools/yelp-check.py
index 9754bd35..5a5afdf3 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]