1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-01 02:02:29 +02:00

Improve set-cookie scriptlet

Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3178#issuecomment-2178502856
This commit is contained in:
Raymond Hill 2024-06-19 08:48:54 -04:00
parent 8e3eaf1cc8
commit b4d8750f44
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1009,6 +1009,8 @@ function setCookieFn(
cookieParts.push(`; domain=${options.domain}`);
}
cookieParts.push('; Secure');
} else if ( /^__(Host|Secure)-/.test(name) ) {
cookieParts.push('; Secure');
}
try {