mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:57:36 +00:00
Browser: Respect the HttpOnly flag when storing cookies
This commit is contained in:
parent
c00760c5f9
commit
858ba11aef
3 changed files with 9 additions and 7 deletions
|
@ -55,7 +55,7 @@ private:
|
|||
static bool domain_matches(const String& string, const String& domain_string);
|
||||
static String default_path(const URL& url);
|
||||
|
||||
void store_cookie(Web::Cookie::ParsedCookie& parsed_cookie, const URL& url, String canonicalized_domain);
|
||||
void store_cookie(Web::Cookie::ParsedCookie& parsed_cookie, const URL& url, String canonicalized_domain, Web::Cookie::Source source);
|
||||
void purge_expired_cookies();
|
||||
|
||||
HashMap<CookieStorageKey, Web::Cookie::Cookie> m_cookies;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue