mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
6120472036
Regarding joyent/node#8520 This changes hostname validation from a whitelist regex approach to a blacklist regex approach as described in https://url.spec.whatwg.org/#host-parsing. url.parse misinterpreted `https://good.com+.evil.org/` as `https://good.com/+.evil.org/`. If we use url.parse to check the validity of the hostname, the test passes, but in the browser the user is redirected to the evil.org website. |
||
---|---|---|
.. | ||
addons | ||
debugger | ||
disabled | ||
fixtures | ||
gc | ||
internet | ||
message | ||
pummel | ||
simple | ||
testpy | ||
timers | ||
common.js |