Skip to content
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+LibURL: Use correct encoding for URL fragments #1879

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gingeh
Copy link
Contributor

@Gingeh Gingeh commented Oct 20, 2024

This PR includes two fixes, both needed to fully pass http://wpt.live/url/percent-encoding.window.html

  1. Using the Content-Type header when determining the document's encoding.
  2. Using UTF-8 when percent encoding URL fragments.

(http://wpt.live/mimesniff/mime-types/charset-parameter.window.html almost passes now but it still crashes when parsing the last case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants