Files
node/lib
James M Snell 85a4e25775 http: add type checking for hostname
Add type checking for options.hostname / options.host
Maintains the use of `undefined` and `null` for default `localhost`,
but other falsy values (like `false`, `0` and `NaN`) are rejected.

PR-URL: https://github.com/nodejs/node/pull/12494
Ref: https://github.com/nodejs/node/issues/12488
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
2017-04-24 10:49:12 -07:00
..
2017-03-17 11:09:10 -07:00
2017-03-10 11:23:48 -08:00
2017-04-21 13:09:49 -04:00
2017-04-18 22:04:09 +02:00
2017-03-10 11:23:48 -08:00
2016-10-04 12:17:32 -04:00
2017-03-17 11:09:40 -07:00
2017-03-10 11:23:48 -08:00
2017-03-31 22:02:25 +02:00
2017-03-26 12:40:24 +02:00
2017-03-10 11:23:48 -08:00