Skip to content

url: enforce valid UTF-8 in WHATWG parser#11436

Closed
TimothyGu wants to merge 4 commits intonodejs:masterfrom
TimothyGu:url-usvstring
Closed

url: enforce valid UTF-8 in WHATWG parser#11436
TimothyGu wants to merge 4 commits intonodejs:masterfrom
TimothyGu:url-usvstring

Conversation

@TimothyGu
Copy link
Copy Markdown
Member

This commit implements the Web IDL USVString conversion, which mandates all unpaired Unicode surrogates be turned into U+FFFD REPLACEMENT CHARACTER. It also disallows Symbols to be used as USVString, per spec.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

url

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. whatwg-url Issues and PRs related to the WHATWG URL implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants