-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LibWeb: Ensure Headers API can handle non-ascii characters #2814
LibWeb: Ensure Headers API can handle non-ascii characters #2814
Conversation
7988bea
to
3ec3685
Compare
3ec3685
to
ad397ab
Compare
0b18dd5
to
ddd04de
Compare
1bb9e88
to
dc24a87
Compare
This fixes crash in WPT: https://wpt.fyi/results/fetch/api/headers/headers-normalize.any.html |
This patch ensure Headers object's associated header list is ISO-8859-1 encoded when set using `Infra::isomorphic_encode`, and correctly decoded using `Infra::isomorphic_decode`. Follow-up of LadybirdBrowser#1893
dc24a87
to
45a3b61
Compare
Imported, Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me 👍
Ensure the Headers object's associated header list is ISO-8859-1 encoded
when set using
Infra::isomorphic_encode
and correctly decoded usingInfra::isomorphic_decode
.Follow-up of #1893