chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a90443
)
lint: add popular URL shorteners to the banned list
author
Hans-Christoph Steiner
<hans@eds.org>
Mon, 15 May 2017 12:58:01 +0000
(14:58 +0200)
committer
Hans-Christoph Steiner
<hans@eds.org>
Fri, 26 May 2017 19:03:38 +0000
(21:03 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 125a963837ad229c58c8af7ec5203b74e5373f0c..b7dbdea1ba01b9e23d3f30f004cb4016faf9dd8c 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-53,6
+53,10
@@
http_url_shorteners = [
forbid_shortener('goo.gl'),
forbid_shortener('t.co'),
forbid_shortener('ur1.ca'),
+ forbid_shortener('is.gd'),
+ forbid_shortener('bit.ly'),
+ forbid_shortener('tiny.cc'),
+ forbid_shortener('tinyurl.com'),
]
http_checks = https_enforcings + http_url_shorteners + [