From: Hans-Christoph Steiner Date: Mon, 4 Dec 2017 19:34:13 +0000 (+0100) Subject: lint: enforce HTTPS and shortener ban in descriptions as well X-Git-Tag: 1.0.0~44^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=05616b33a77d7449753f88498d6b68b56444dfba;p=fdroidserver.git lint: enforce HTTPS and shortener ban in descriptions as well --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index b5355359..31922585 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -109,7 +109,7 @@ regex_checks = { (re.compile(r'.*\s$'), _("Unnecessary trailing space")), ], - 'Description': [ + 'Description': https_enforcings + http_url_shorteners + [ (re.compile(r'\s*[*#][^ .]'), _("Invalid bulleted list")), (re.compile(r'^\s'),