0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Jonathan Johnson 6120472036 url: change hostname regex to negate invalid chars
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.
2014-12-02 17:24:18 -08:00
..
addons node,async-wrap: verify domain enter/exit are set 2014-09-02 11:30:45 -07:00
debugger debugger: assign Environment to DebugContext too 2014-05-02 22:12:54 +04:00
disabled deps: re-implement debugger-agent 2014-10-08 15:44:40 +04:00
fixtures test: fix debug-signal-cluster after da update 2014-10-08 15:44:40 +04:00
gc test: update our branched weakref to v8 3.24 2014-03-17 10:19:47 -07:00
internet dns: include host name in error message if available 2014-09-16 15:32:04 +04:00
message Merge branch 'v0.10' 2014-06-05 07:28:39 -07:00
pummel fs: fs.readFile should not throw uncaughtException 2014-08-05 16:13:07 +04:00
simple url: change hostname regex to negate invalid chars 2014-12-02 17:24:18 -08:00
testpy addons: build and test examples 2014-01-22 00:39:13 +04:00
timers timers: backport f8193ab 2014-07-31 08:53:24 -07:00
common.js tools: fix for testing openssl integrations 2014-10-08 01:19:25 -07:00