mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
[network] Reject cookies with no name and a __Secure- or __Host- prefix
This commit is contained in:
parent
95120acbb2
commit
91b51a6509
2 changed files with 58 additions and 30 deletions
|
|
@ -307,6 +307,7 @@ class nsCookieService final : public nsICookieService
|
|||
CookieStatus CheckPrefs(nsIURI *aHostURI, bool aIsForeign, const char *aCookieHeader);
|
||||
bool CheckDomain(nsCookieAttributes &aCookie, nsIURI *aHostURI, const nsCString &aBaseDomain, bool aRequireHostMatch);
|
||||
static bool CheckPath(nsCookieAttributes &aCookie, nsIURI *aHostURI);
|
||||
static bool CheckHiddenPrefix(nsCookieAttributes &aCookie);
|
||||
static bool CheckPrefixes(nsCookieAttributes &aCookie, bool aSecureRequest);
|
||||
static bool GetExpiry(nsCookieAttributes &aCookie, int64_t aServerTime, int64_t aCurrentTime);
|
||||
void RemoveAllFromMemory();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue