Merge pull request #265 from kidburglar/264-Possibility-to-avoid-certificate-verification

This commit is contained in:
morpheus65535 2019-01-05 20:23:13 -05:00 committed by GitHub
commit 4141b7c280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1736,7 +1736,7 @@ def api_history():
def test_url(protocol, url):
url = urllib.unquote(url)
try:
result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version']
result = requests.get(protocol + "://" + url, allow_redirects=False, verify=False).json()['version']
except:
return dict(status=False)
else: