mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
LibWebView: Consider wss a secure scheme for Secure cookies
This commit is contained in:
parent
c50e89bb73
commit
f3f51f2547
Notes:
github-actions[bot]
2025-01-21 20:38:56 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/f3f51f25476 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3239 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/kalenikaliaksandr
1 changed files with 1 additions and 1 deletions
|
@ -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".
|
||||
|
|
Loading…
Reference in a new issue