mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update javascript/ql/src/experimental/Security/CWE-117/LogInjection.qll
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b4f255176a
commit
cc91026873
@@ -57,8 +57,8 @@ module LogInjection {
|
||||
* A call to a logging mechanism. For example, the call could be in the following forms:
|
||||
* `console.log('hello')` or
|
||||
*
|
||||
* `let logger = console.log; `
|
||||
* `logger('hello')` or
|
||||
* `let logger = console.log;`
|
||||
* `logger('hello')` or
|
||||
*
|
||||
* `let logger = {info: console.log};`
|
||||
* `logger.info('hello')`
|
||||
|
||||
Reference in New Issue
Block a user