mirror of
https://github.com/servo/servo.git
synced 2025-07-15 19:33:46 +01:00
The cookie-rs library parses the cookie expiry date based on the format from RFC 2616 (for HTTP/1.1), which is stricter than the format from RFC 6265 (for HTTP cookie). This patch implements the cookie expiry date algorithm from RFC 6265. When Cookie::parse fails in parsing the expiry date, we try to parse the expiry again with this algorithm, to provide extra compatibility with legacy systems. Testing: Pass a WPT test that was expected to fail before, and add a unit test. Fixes: #36452 --------- Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev> |
||
---|---|---|
.. | ||
cookie.rs | ||
cookie_http_state.rs | ||
cookie_http_state_utils.py | ||
data_loader.rs | ||
fetch.rs | ||
file_loader.rs | ||
filemanager_thread.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
main.rs | ||
resource_thread.rs | ||
subresource_integrity.rs | ||
test.css | ||
test.jpeg |