Merge pull request #590 from oddstr13/fix-unverified-request-1

Verify ssl by default
This commit is contained in:
mcarlton00 2021-10-30 20:43:55 -04:00 committed by GitHub
commit bcec403fd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -557,7 +557,7 @@ class PlayUtils(object):
path = os.path.join(temp, filename)
try:
response = requests.get(src, stream=True, verify=False)
response = requests.get(src, stream=True, verify=settings('sslverify.bool'))
response.raise_for_status()
except Exception as error:
LOG.exception(error)