Skip to content

url: fast path ascii domains, do not run ToASCII

To match browser behavior fast path ascii only domains and do not run ToASCII on them.

Fixes: https://github.com/nodejs/node/issues/12965 Refs: https://github.com/nodejs/node/pull/12966 Refs: https://github.com/whatwg/url/pull/309

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

Merge request reports

Loading