Update javascript/ql/src/experimental/Security/CWE-117/LogInjection.qll

Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
Alessio Della Libera
2020-06-18 19:31:11 +02:00
committed by GitHub
parent b4f255176a
commit cc91026873

View File

@@ -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')`