mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
JS: now RegExp with unknown flags is not flagged as an issue within password Clear text storage of sensitive information
This commit is contained in:
@@ -36,7 +36,7 @@ module CleartextLogging {
|
||||
*/
|
||||
class MaskingReplacer extends Barrier, StringReplaceCall {
|
||||
MaskingReplacer() {
|
||||
this.isGlobal() and
|
||||
this.maybeGlobal() and
|
||||
exists(this.getRawReplacement().getStringValue()) and
|
||||
exists(DataFlow::RegExpCreationNode regexpObj |
|
||||
this.(StringReplaceCall).getRegExp() = regexpObj and
|
||||
|
||||
Reference in New Issue
Block a user