You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filter is accepted. The current RegExp looks like this: /(?:^|;)\s*report-(?:to|uri)\b/
The option tested against the RegExp above is like csp=..., so the Start of line would cause it to never match when report-... directive is at the beginning.
Your environment
uBlock Origin version: 1.23.0
Browser Name and version: Chrome 80
Operating System and version: Windows 10
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
$csp=
does not allowreport-uri
norreport-to
, however, the RegExp rejecting these directives are broken.A specific URL where the issue occurs
N/A
Steps to Reproduce
||example.com^$csp=report-to https://other.example.com;
Expected behavior:
The filter is rejected
Actual behavior:
The filter is accepted. The current RegExp looks like this:
/(?:^|;)\s*report-(?:to|uri)\b/
The option tested against the RegExp above is like
csp=...
, so theStart of line
would cause it to never match whenreport-...
directive is at the beginning.Your environment
The text was updated successfully, but these errors were encountered: