mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Ensure urlskip= redirects only to https:
This commit is contained in:
parent
94ca27acd1
commit
32f27c5131
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue