mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
scanner: only allow HTTPS versions of the whitelist
This commit is contained in:
parent
e6bf586e74
commit
b95f66a806
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def scan_source(build_dir, build=metadata.Build()):
|
|||
|
||||
gradle_mavenrepo = re.compile(r'maven *{ *(url)? *[\'"]?([^ \'"]*)[\'"]?')
|
||||
|
||||
allowed_repos = [re.compile(r'^https?://' + re.escape(repo) + r'/*') for repo in [
|
||||
allowed_repos = [re.compile(r'^https://' + re.escape(repo) + r'/*') for repo in [
|
||||
'repo1.maven.org/maven2', # mavenCentral()
|
||||
'jcenter.bintray.com', # jcenter()
|
||||
'jitpack.io',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue