mirror of
https://github.com/github/codeql.git
synced 2026-06-06 05:57:07 +02:00
Python: extra tests for comprehension
This commit is contained in:
committed by
Owen Mansel-Chan
parent
0ecca91dea
commit
fa9426c749
@@ -64,6 +64,8 @@ class TaintTest(tornado.web.RequestHandler):
|
||||
request.headers.get_list("header-name"), # $ tainted
|
||||
request.headers.get_all(), # $ tainted
|
||||
[(k, v) for (k, v) in request.headers.get_all()], # $ MISSING: tainted
|
||||
[(k, v) for (k, v) in request.headers.get_all()][0], # $ tainted
|
||||
list([(k, v) for (k, v) in request.headers.get_all()]), # $ MISSING: tainted
|
||||
|
||||
# Dict[str, http.cookies.Morsel]
|
||||
request.cookies, # $ tainted
|
||||
|
||||
Reference in New Issue
Block a user