Prerequisites
I tried to reproduce the issue when...
Description
From this #3084
Its seem like I can replace or remove any parts of url with $uritransform, so I create this rule
||pantip.com^$doc,uritransform=/#lead:.*//
to remove tracking part of
https://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369
(example url) but it works when there is only this uritransform rule enable. When I enable another uritransform rule:
*$uritransform=/\?fbclid=//
Both uritransform rules stop working, and uBO doesn't mark any rules as invalid too. If the second rule is invalid, the first rule should still working.
A specific URL where the issue occurs.
`https://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369`
Steps to Reproduce
- Create test.txt file in Desktop
- Allow uBO to access to file URLs

- Import test.txt to uBO custom filters and add
file:/// in trustedListPrefixes to make sure this filter have enough permission.

- Disable all filters beside
test.txt to make sure test.txt rules don't conflict with other rules.
- Add
||pantip.com^$doc,uritransform=/#lead:.*// rule to test.txt
- Add
*$uritransform=/\?fbclid=// rule to test.txt
- Save
test.txt
- Click update filter

- go to
https://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369 site
- see
||pantip.com^$doc,uritransform=/#lead:.*// doesn't work
Expected behavior
||pantip.com^$doc,uritransform=/#lead:.*// should work even there is *$uritransform=/\?fbclid=// rule.
- tracking part of url should be removed and remain only
https://pantip.com/topic/41624586.
Actual behavior
||pantip.com^$doc,uritransform=/#lead:.*// doesn't work and browser go to https://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369 when there is *$uritransform=/\?fbclid=// rule.
uBO version
1.55.1rc4
Browser name and version
Brave Browser Version 1.62.162 Chromium: 121.0.6167.164 (Official Build) (64-bit)
Operating System and version
Windows 11 Education 22H2
Prerequisites
I tried to reproduce the issue when...
Description
From this #3084
Its seem like I can replace or remove any parts of url with
$uritransform, so I create this ruleto remove tracking part of
(example url) but it works when there is only this uritransform rule enable. When I enable another uritransform rule:
Both uritransform rules stop working, and uBO doesn't mark any rules as invalid too. If the second rule is invalid, the first rule should still working.
A specific URL where the issue occurs.
`https://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369`Steps to Reproduce
file:///intrustedListPrefixesto make sure this filter have enough permission.test.txtto make suretest.txtrules don't conflict with other rules.||pantip.com^$doc,uritransform=/#lead:.*//rule totest.txt*$uritransform=/\?fbclid=//rule totest.txttest.txthttps://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369site||pantip.com^$doc,uritransform=/#lead:.*//doesn't workExpected behavior
||pantip.com^$doc,uritransform=/#lead:.*//should work even there is*$uritransform=/\?fbclid=//rule.https://pantip.com/topic/41624586.Actual behavior
||pantip.com^$doc,uritransform=/#lead:.*//doesn't work and browser go tohttps://pantip.com/topic/41624586#lead:related:6B9mGrzkxFdzAeuBEWJhXs:6:https://pantip.com/topic/42521369when there is*$uritransform=/\?fbclid=//rule.uBO version
1.55.1rc4
Browser name and version
Brave Browser Version 1.62.162 Chromium: 121.0.6167.164 (Official Build) (64-bit)
Operating System and version
Windows 11 Education 22H2