mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 02:12:44 +01:00
Ensure urlskip=
redirects only to https:
This commit is contained in:
parent
94ca27acd1
commit
32f27c5131
@ -5508,7 +5508,8 @@ function urlSkip(directive, url, steps) {
|
||||
// Unknown directive
|
||||
return;
|
||||
}
|
||||
void new URL(urlout);
|
||||
const urlfinal = new URL(urlout);
|
||||
if ( urlfinal.protocol !== 'https:' ) { return; }
|
||||
return urlout;
|
||||
} catch(x) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user