FiltersCompiler
FiltersCompiler copied to clipboard
removeparam value that starts with `/` parsed as invalid regexp
[20:14:55][ERROR]:Invalid rule in AdGuard URL Tracking filter: ||hktvmall.com/yuicombo?$script,removeparam=/_ui/shared/common/js/util/jquery.analytics-utils.js
error text:
Error: "Invalid flags supplied to RegExp constructor 'shared/common/js/utilg'" in the rule: "||hktvmall.com/yuicombo?$script,removeparam=/_ui/shared\/common\/js\/util/jquery.analytics-utils.js/"
should be improved:
Error: Invalid $removeparam value ...
@yuki2718 @otksm
I thought Alex reworte the rules.
@Yuki2718
Details

So now okay, not?
Yes. But error message should be improved.