Fixed false positive (property assignment).
This commit is contained in:
parent
440232d45c
commit
c1b3922de1
|
@ -293,7 +293,8 @@ XSS.InjectionChecker = (async () => {
|
|||
),
|
||||
|
||||
_maybeJSRx: new RegExp(
|
||||
'(?:(?:\\[[^]+\\]|\\.\\D)(?:[^]*\\([^]*\\)|[^*]`[^]+`|[^=]*=[^=][^]*\\S)' +
|
||||
'(?:(?:\\[[^]+\\]|\\.\\D)[^;&/\'"]*(?:/[^]*|)' +
|
||||
'(?:\\([^]*\\)|[^]*`[^]+`|=[^=][^]*\\S)' +
|
||||
// double function call
|
||||
'|\\([^]*\\([^]*\\)' +
|
||||
')|(?:^|\\W)(?:' + IC_EVAL_PATTERN +
|
||||
|
|
Loading…
Reference in New Issue