mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
It's possible for the cookie value from a Set-Cookie header to contain invalid UTF-8. We must isomorphic decode this header. This fixes the /cookies/domain/domain-attribute-idn-host.sub.https.html WPT test. The test added here is a crash test rather than a text test because we cannot access the received Set-Cookie header from JS on the file:// test URL.