mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression in trusted-replace-argument scritplet
Related feedback:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/859#discussioncomment-11751928
Regression from:
adced29b5b
This commit is contained in:
parent
987f41c85d
commit
2266473336
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export function trustedReplaceArgument(
|
|||
const replacer = argraw.startsWith('repl:/') &&
|
||||
parseReplaceFn(argraw.slice(5)) || undefined;
|
||||
const value = replacer === undefined &&
|
||||
validateConstantFn(true, argraw, extraArgs) || undefined;
|
||||
validateConstantFn(true, argraw, extraArgs);
|
||||
const reCondition = extraArgs.condition
|
||||
? safe.patternToRegex(extraArgs.condition)
|
||||
: /^/;
|
||||
|
|
|
|||
Loading…
Reference in a new issue