Improve href-sanitizer scriptlet

Related issue:
https://github.com/uBlockOrigin/uAssets/issues/26709#issuecomment-2569993803
This commit is contained in:
Raymond Hill 2025-01-04 20:23:53 -05:00
parent 7f78d19597
commit 551c6bc6eb
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -121,7 +121,7 @@ export function urlSkip(url, blocked, steps, directive = {}) {
}
// URI component
if ( step === '-uricomponent' ) {
urlout = self.decodeURIComponent(urlin);
urlout = decodeURIComponent(urlin);
continue;
}
// Enable skip of blocked requests