Description
Prerequisites
- I verified that this is not a filter issue
- Filter issues MUST be reported at filter issue tracker
- This is not a support issue or a question
- Support issues and questions are handled at /r/uBlockOrigin
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue
- Your issue may already be reported.
- I tried to reproduce the issue when...
- uBlock Origin is the only extension
- uBlock Origin with default lists/settings
- using a new, unmodified browser profile
- I am running the latest version of uBlock Origin
- I checked the documentation to understand that the issue I report is not a normal behavior
Description
I've been working on https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt for some weeks now, which I did while presuming that only AdGuard had a feature to remove $/& parameters from URLs. But during some syntax checking of regional lists, I discovered that $queryprune
seems to have been added to uBO.
However, those two $
qualifiers seem to me to do the exact same thing, with only 2 current exceptions:
- AdGuard removes the parameters at the network level instead of in the URL bar
$removeparam
does not seem to need|
in its values.
I therefore propose that they should be made into aliases of each other. This would save me from having to maintain and sync two different versions of that list, one for uBO and one for AdGuard.
A specific URL where the issue occurs
https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt
Steps to Reproduce
- Turn on uBO's logger
- Set the tab to "All"
- Attempt to add or sync https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt
- See that the logger considers all its entries to be an
Invalid network filter in https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt:
.
Expected behavior:
$removeparam
is treated as being $queryprune
Actual behavior:
$removeparam
does not work in uBO.
Your environment
- uBlock Origin version: 1.31.1b2
- Browser Name and version: Chrome 87.0.4280.66 x64
- Operating System and version: Windows 10 October 2020 Update