File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
javascript/ql/test/query-tests/Security/CWE-295 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 99| tst.js:45:2:45:28 | rejectU ... !!false | Disabling certificate validation is strongly discouraged. |
1010| tst.js:48:2:48:26 | rejectU ... : !true | Disabling certificate validation is strongly discouraged. |
1111| tst.js:74:9:74:33 | rejectU ... : false | Disabling certificate validation is strongly discouraged. |
12+ | tst.js:80:5:80:29 | rejectU ... : false | Disabling certificate validation is strongly discouraged. |
Original file line number Diff line number Diff line change @@ -74,4 +74,8 @@ function getSomeunsafeOptions() {
7474 rejectUnauthorized : false // NOT OK
7575 }
7676}
77- new https . Agent ( getSomeunsafeOptions ( ) ) ;
77+ new https . Agent ( getSomeunsafeOptions ( ) ) ;
78+
79+ https . createServer ( {
80+ rejectUnauthorized : false // NOT OK
81+ } ) ;
You can’t perform that action at this time.
0 commit comments