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:
4ef3875
)
Also enforce https on urls without path
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Aug 2015 22:30:03 +0000
(15:30 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Aug 2015 22:30:03 +0000
(15:30 -0700)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 12a7900a5763b6ab217e9eaf220948203b008f59..d61aab2140449a53fde0a44f2139b6aefef70a1b 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-31,7
+31,7
@@
options = None
def enforce_https(domain):
- return (re.compile(r'.*[^sS]://[^/]*' + re.escape(domain) + r'
/.*
'),
+ return (re.compile(r'.*[^sS]://[^/]*' + re.escape(domain) + r'
(/.*)?
'),
domain + " URLs should always use https://")
https_enforcings = [