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 issue is not present after disabling uBO in the browser.
I checked the documentation to understand that the issue I am reporting is not normal behavior.
I tried to reproduce the issue when...
uBO is the only extension.
uBO uses default lists and settings.
using a new, unmodified browser profile.
Description
Current token extraction algorithm does not check for negativity of a character group, and thus [^&] is treated as [&] and results in an invalid token.
A variant of the regex may be something like [^0-9A-Za-z%,;] to match a specific separator.
To fix the issue we may need to implement full support of negative character groups and character ranges. A strategy to do so is to recreate a regex from the character class and test whether it matches a string with all token chars:
Prerequisites
I tried to reproduce the issue when...
Description
Current token extraction algorithm does not check for negativity of a character group, and thus
[^&]
is treated as[&]
and results in an invalid token.A variant of the regex may be something like
[^0-9A-Za-z%,;]
to match a specific separator.To fix the issue we may need to implement full support of negative character groups and character ranges. A strategy to do so is to recreate a regex from the character class and test whether it matches a string with all token chars:
Related additional methods for the regex class:
A specific URL where the issue occurs.
https://example.com/?p=fooadsbar
Steps to Reproduce
/^https?://(?:example\.com|ex\.com)/\?(?:p|pat)=[^&]*ads[^&]*(?:[&#]|$)/$document
https://example.com/?p=fooadsbar
Expected behavior
The page should be blocked.
Actual behavior
The page is not blocked.
uBO version
1.44.4
Browser name and version
107.0.5304.107
Operating System and version
Independent
The text was updated successfully, but these errors were encountered: