Files
codeql/javascript/ql/test/query-tests/Security/CWE-116/IncompleteSanitization.expected

12 lines
938 B
Plaintext

| tst.js:5:20:5:22 | "'" | This replaces only the first occurrence of "'". |
| tst.js:9:20:9:22 | /'/ | This replaces only the first occurrence of /'/. |
| tst.js:13:20:13:23 | /'/g | This does not backslash-escape the backslash character. |
| tst.js:17:20:17:23 | /'/g | This does not backslash-escape the backslash character. |
| tst.js:21:20:21:26 | /['"]/g | This does not backslash-escape the backslash character. |
| tst.js:25:20:25:28 | /(['"])/g | This does not backslash-escape the backslash character. |
| tst.js:29:20:29:27 | /('\|")/g | This does not backslash-escape the backslash character. |
| tst.js:33:20:33:22 | '\|' | This replaces only the first occurrence of '\|'. |
| tst.js:37:20:37:23 | /"/g | This does not backslash-escape the backslash character. |
| tst.js:41:20:41:22 | "/" | This replaces only the first occurrence of "/". |
| tst.js:45:20:45:24 | "%25" | This replaces only the first occurrence of "%25". |