You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ ~ nodeWelcome to Node.js v18.16.0.Type ".help" for more information.
> new URL('HTTP://AMAZON.COM').href'http://amaZon.com/'
>
Node.js 18.16.0 uses Ada for parsing while 18.15.0 does not, so I strongly suspect this is either a bug in Ada or a bug in Node.js that was introduced as part of the change set to include Ada.
Activity
[-]URL Parser behaviour change in 18.16.0[/-][+]URL parser behaviour change in 18.16.0[/+]KhafraDev commentedon Apr 14, 2023
cc @nodejs/url
Trott commentedon Apr 14, 2023
I'm able to reproduce this:
Node.js 18.16.0 uses Ada for parsing while 18.15.0 does not, so I strongly suspect this is either a bug in Ada or a bug in Node.js that was introduced as part of the change set to include Ada.
@anonrig @lemire
Trott commentedon Apr 14, 2023
Node.js 19.7.0 and newer has this same issue. 19.6.1 does not. And again, 19.7.0 is the version where Ada is introduced.
anonrig commentedon Apr 14, 2023
I will fix this in Ada. Thanks for reporting.
lemire commentedon Apr 14, 2023
That's odd.
lemire commentedon Apr 14, 2023
Wow.
anonrig commentedon Apr 14, 2023
@lemire's pull request fixed this in Ada. We'll release a new version.
anonrig commentedon Apr 17, 2023
Ada v2.1.0 will fix this issue.