File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
python/ql/test/library-tests/frameworks/flask Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ def test_taint(): # $requestHandler
99@app .route ("/path-injection" ) # $routeSetup="/path-injection"
1010def test_path (): # $requestHandler
1111
12- flask . send_from_directory ("filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
13- flask . send_file ("file" ) # $ getAPathArgument="file"
14-
15- flask . send_from_directory (directory = "filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
16- flask . send_from_directory (filename = "filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
17- flask . send_file (filename_or_fp = "file" ) # $ getAPathArgument="file"
12+ send_from_directory ("filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
13+ send_file ("file" ) # $ getAPathArgument="file"
14+
15+ send_from_directory (directory = "filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
16+ send_from_directory (filename = "filepath" ,"file" ) # $ getAPathArgument="filepath" getAPathArgument="file"
17+ send_file (filename_or_fp = "file" ) # $ getAPathArgument="file"
You can’t perform that action at this time.
0 commit comments