mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Check wss scheme in Cookie::appropriate_for_url
This commit is contained in:
parent
49abf57deb
commit
3fce260f6e
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ impl Cookie {
|
|||
}
|
||||
}
|
||||
|
||||
if self.cookie.secure && url.scheme() != "https" {
|
||||
if self.cookie.secure && !url.is_secure_scheme() {
|
||||
return false;
|
||||
}
|
||||
if self.cookie.httponly && source == CookieSource::NonHTTP {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue