ada-url/ada

Mishandling of %7C in serialized search params

jasnell opened this issue · 0 comments

Version

2.7.7

Platform

No response

What steps will reproduce the bug?

Similar to the bug fixed in #606

const url = new URL("https://www.subtypestore.com/au/?test=ab+c&track=%7C");
console.log(url.searchParams.toString());
console.log(url.search)

The url.searchParams.toString() will improperly deserialize the %7C to | when it should remain as %7C

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

| in the results of url.searchParams.toString() instead of %7C

Additional information

No response