We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
py/request-without-cert-validation
1 parent 4a02505 commit 9cb249fCopy full SHA for 9cb249f
python/ql/test/query-tests/Security/CWE-295-RequestWithoutValidation/make_request.py
@@ -36,3 +36,6 @@ def req2(verify):
36
# requests treat `None` as default value, which means it is turned on
37
requests.get('https://semmle.com') # OK
38
requests.get('https://semmle.com', verify=None) # OK
39
+
40
+s = requests.Session()
41
+s.get("url", verify=False) # BAD
0 commit comments