0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Evan Lucas ca5f8f80e3 http: check reason chars in writeHead
Previously, the reason argument passed to ServerResponse#writeHead was
not being properly validated.  One could pass CRLFs which could lead to
http response splitting. This commit changes the behavior to throw an
error in the event any invalid characters are included in the reason.

CVE-2016-5325

PR-URL: https://github.com/nodejs/node-private/pull/60
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
2016-09-28 11:19:18 +10:00
..
abort test: add abort test for backtrace validation 2016-06-29 13:50:22 +02:00
addons tools: add eslint rule prefer-assert-methods 2016-09-20 16:35:39 -07:00
cctest inspector: wait for both sides closing 2016-09-22 11:17:09 -07:00
debugger test: make import common as the first line 2016-07-21 16:39:21 -07:00
disabled test: make import common as the first line 2016-07-21 16:39:21 -07:00
doctool test: skip doctool tests when js-yaml is missing 2016-07-06 12:33:31 +02:00
fixtures path: fallback to process cwd when resolving drive cwd 2016-09-24 01:14:56 +03:00
gc tools: add eslint rule prefer-assert-methods 2016-09-20 16:35:39 -07:00
inspector test: use Buffer.alloc 2016-09-26 09:27:34 -07:00
internet test: fix ::1 error in test-dns-ipv6 2016-09-01 14:56:41 -07:00
known_issues test: add known issue test for path parse issue #6229 2016-08-29 15:15:18 -07:00
message tools: add additional ESLint rules 2016-09-20 23:21:10 -04:00
parallel http: check reason chars in writeHead 2016-09-28 11:19:18 +10:00
pseudo-tty test: skip pseudo-tty/no_dropped_stdio test 2016-09-12 09:51:11 -04:00
pummel tools: add eslint rule prefer-assert-methods 2016-09-20 16:35:39 -07:00
sequential tools: add additional ESLint rules 2016-09-20 23:21:10 -04:00
testpy src: add /json/protocol endpoint to inspector 2016-09-23 18:51:47 +02:00
timers timers: remove unused repeat param in timer_wrap 2016-08-09 12:26:10 -07:00
.eslintrc tools: add eslint rule prefer-assert-methods 2016-09-20 16:35:39 -07:00
common.js test: skip cpu-intensive tests on slow hosts 2016-09-24 15:43:56 -07:00
README.md inspector: introduce a smoke test 2016-09-19 12:40:16 -07:00

Tests

abort

Tests for when the --abort-on-uncaught-exception flag is used.

Runs on CI
No

addons

Tests for addon functionality along with some tests that require an addon to function properly.

Runs on CI
Yes

cctest

C++ test that is run as part of the build process.

Runs on CI
Yes

debugger

Tests for debugger functionality.

Runs on CI
No

disabled

Tests that have been disabled from running for various reasons.

Runs on CI
No

fixtures

Test fixtures used in various tests throughout the test suite.

gc

Tests for garbage collection related functionality.

Runs on CI
No

inspector

Tests for the V8 inspector integration.

Runs on CI
Yes

internet

Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.

Runs on CI
No

known_issues

Tests reproducing known issues within the system.

Runs on CI
No

message

Tests for messages that are output for various conditions (console.log, error messages etc.)

Runs on CI
Yes

parallel

Various tests that are able to be run in parallel.

Runs on CI
Yes

pummel

Various tests for various modules / system functionality operating under load.

Runs on CI
No

sequential

Various tests that are run sequentially.

Runs on CI
Yes

testpy

Test configuration utility used by various test suites.

timers

Tests for timing utilities (setTimeout and setInterval).

Runs on CI
No