mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
This implements character set restrictions both for the DOM API and when getting cookies from http/ws headers. This is a local workaround for https://github.com/rwf2/cookie-rs/issues/243 We still fail some tests because hyper errors out when parsing headers with %x1 characters. This patch also makes a minor change to 'ServoCookie::from_cookie_string()' to avoid some string cloning when possible. Testing: wpt tests expectations are updated Signed-off-by: webbeef <me@webbeef.org>