Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c593853

Browse files
committed
JS: Record some missing alerts in FileAccessToHttp
1 parent cf33db7 commit c593853

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

javascript/ql/test/query-tests/Security/CWE-200/googlecompiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function PostCode(codestring) {
1111
'output_format': 'json',
1212
'output_info': 'compiled_code',
1313
'warning_level' : 'QUIET',
14-
'js_code' : codestring // $ Alert - passing data from file to the request json body
14+
'js_code' : codestring // $ MISSING: Alert - passing data from file to the request json body
1515
});
1616

1717
// An object of options to indicate where to post to
@@ -34,7 +34,7 @@ function PostCode(codestring) {
3434
});
3535
});
3636

37-
post_req.write(post_data); // $ Alert - post the data from file to request body
37+
post_req.write(post_data); // $ MISSING: Alert - post the data from file to request body
3838
post_req.end();
3939

4040
}

0 commit comments

Comments
 (0)