mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWebView: Consider wss a secure scheme for Secure cookies
This commit is contained in:
committed by
Andreas Kling
parent
c50e89bb73
commit
f3f51f2547
@@ -559,7 +559,7 @@ Vector<Web::Cookie::Cookie> CookieJar::get_matching_cookies(const URL::URL& url,
|
||||
|
||||
// * If the cookie's secure-only-flag is true, then the retrieval's URI must denote a "secure" connection (as
|
||||
// defined by the user agent).
|
||||
if (cookie.secure && url.scheme() != "https"sv)
|
||||
if (cookie.secure && url.scheme() != "https"sv && url.scheme() != "wss"sv)
|
||||
return;
|
||||
|
||||
// * If the cookie's http-only-flag is true, then exclude the cookie if the retrieval's type is "non-HTTP".
|
||||
|
||||
Reference in New Issue
Block a user