chiark / gitweb /
lint: add popular URL shorteners to the banned list
authorHans-Christoph Steiner <hans@eds.org>
Mon, 15 May 2017 12:58:01 +0000 (14:58 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 26 May 2017 19:03:38 +0000 (21:03 +0200)
fdroidserver/lint.py

index 125a963837ad229c58c8af7ec5203b74e5373f0c..b7dbdea1ba01b9e23d3f30f004cb4016faf9dd8c 100644 (file)
@@ -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 + [