Commit 7c94edce authored by Sander Apweiler's avatar Sander Apweiler
Browse files

Update sanitize function to use https instead of http

parent a68631f8
Pipeline #18141 passed with stage
in 53 seconds
......@@ -255,8 +255,8 @@ def sanitize_api_url(url):
:type url: string
if not url.startswith('http'):
url = 'http://' + url
if not url.startswith('https'):
url = 'https://' + url
b2share_url = furl(url)
if 'api' not in str(b2share_url.path):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment