Skip to content

Commit cfd640b

Browse files
RasmusWLyoff
andauthored
Python: Apply suggestions from code review
Co-authored-by: yoff <lerchedahl@gmail.com>
1 parent d91b925 commit cfd640b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ql/test/library-tests/frameworks/aiohttp/client_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# see https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientSession.request
2121
s.get("url", ssl=False) # $ clientRequestUrlPart="url" clientRequestCertValidationDisabled
2222
s.get("url", ssl=0) # $ clientRequestUrlPart="url" clientRequestCertValidationDisabled
23+
# None is treated as default and so does _not_ disable the check
24+
s.get("url", ssl=None) # $ clientRequestUrlPart="url"
2325

2426
# deprecated since 3.0, but still supported
2527
s.get("url", verify_ssl=False) # $ clientRequestUrlPart="url" clientRequestCertValidationDisabled

0 commit comments

Comments
 (0)