Files
node/test/parallel
Ben Noordhuis d777da27bc http: reject control characters in http.request()
Unsanitized paths containing line feed characters can be used for
header injection and request splitting so reject them with an exception.

There seems to be no reasonable use case for allowing control characters
(characters <= 31) while there are several scenarios where they can be
used to exploit software bugs so reject control characters altogether.

PR-URL: https://github.com/nodejs/node/pull/8923
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: not-an-aardvark <not-an-aardvark@users.noreply.github.com>
2017-03-08 17:10:15 -08:00
..
2016-12-26 14:09:46 +01:00
2016-10-11 12:52:43 -04:00
2016-12-08 03:03:25 +01:00
2016-12-20 14:42:45 -05:00
2016-12-08 02:51:57 +01:00
2017-01-31 17:07:49 -05:00
2016-10-11 12:52:43 -04:00
2017-01-31 17:07:46 -05:00
2016-07-20 06:36:27 -05:00
2016-10-11 12:52:43 -04:00
2016-07-20 06:36:27 -05:00
2016-07-20 06:36:27 -05:00
2016-10-11 12:26:42 -04:00
2016-12-08 02:51:54 +01:00
2016-07-20 06:36:27 -05:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00
2016-04-26 12:15:53 -07:00
2016-07-20 06:36:27 -05:00
2016-07-20 06:36:27 -05:00
2016-12-08 03:02:43 +01:00
2016-10-11 12:28:16 -04:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00
2017-01-31 17:07:48 -05:00