mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +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)? *[\'"]?([^ \'"]*)[\'"]?')
|
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()
|
'repo1.maven.org/maven2', # mavenCentral()
|
||||||
'jcenter.bintray.com', # jcenter()
|
'jcenter.bintray.com', # jcenter()
|
||||||
'jitpack.io',
|
'jitpack.io',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue