mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Do not blindly force https in urlskip
Related discussion: https://github.com/uBlockOrigin/uBlock-issues/issues/3206#issuecomment-2708584507
This commit is contained in:
parent
9f55694c8a
commit
7db84ef13d
1 changed files with 0 additions and 1 deletions
|
|
@ -157,7 +157,6 @@ export function urlSkip(url, blocked, steps, directive = {}) {
|
|||
const urlfinal = new URL(urlout);
|
||||
if ( urlfinal.protocol !== 'https:' ) {
|
||||
if ( urlfinal.protocol !== 'http:' ) { return; }
|
||||
urlout = urlout.replace('http', 'https');
|
||||
}
|
||||
if ( blocked && redirectBlocked !== true ) { return; }
|
||||
return urlout;
|
||||
|
|
|
|||
Loading…
Reference in a new issue