mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 02:10:26 +00:00
The cookie RFC strongly suggests that cookies only contain ASCII, and
that non-ASCII values be encoded with e.g. base64. Web reality differs,
however, and browsers are expected to support UTF-8 encoded cookies.
This aligns with document.cookie.
This fixes the following WPT tests:
/cookies/encoding/charset.html
/cookiestore/encoding.https.any.html
No test added here because we don't have a mechanism yet to set an
HTTP cookie and inspect it via our file:// URL test infra.
|
||
|---|---|---|
| .. | ||
| ContentFilter.cpp | ||
| ContentFilter.h | ||
| FileRequest.cpp | ||
| FileRequest.h | ||
| GeneratedPagesLoader.cpp | ||
| GeneratedPagesLoader.h | ||
| LoadRequest.h | ||
| NavigatorCompatibilityMode.h | ||
| ProxyMappings.cpp | ||
| ProxyMappings.h | ||
| ResourceLoader.cpp | ||
| ResourceLoader.h | ||
| UserAgent.h | ||