Skip to content

http2: reject non-latin1 client request values #77032

http2: reject non-latin1 client request values

http2: reject non-latin1 client request values #77032

Triggered via pull request June 5, 2026 06:50
Status Failure
Total duration 45m 30s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/parallel/test-http2-response-splitting.js#L48
--- stderr --- node:internal/http2/util:135 throw new ERR_HTTP2_INVALID_HEADER_VALUE(value, name); ^ TypeError [ERR_HTTP2_INVALID_HEADER_VALUE]: Invalid value "/foo?lang=barčĊContent­Length: 0čĊčĊHTTP/1.1 200 OKčĊContent­Length: 20čĊLast­Modified: Mon, 27 Oct 2003 14:50:18 GMTčĊContent­Type: text/htmlčĊčĊ<html>Gotcha!</html>" for header "location" at assertValidHeaderValue (node:internal/http2/util:135:11) at processHeader (node:internal/http2/util:849:5) at buildNgHeaderString (node:internal/http2/util:869:7) at prepareResponseHeaders (node:internal/http2/core:2668:23) at ServerHttp2Stream.respond (node:internal/http2/core:3110:9) at Http2Server.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-http2-response-splitting.js:48:10) at Http2Server.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:510:15) at Http2Server.emit (node:events:509:20) at ServerHttp2Session.sessionOnStream (node:internal/http2/core:3353:19) at ServerHttp2Session.emit (node:events:509:20) { code: 'ERR_HTTP2_INVALID_HEADER_VALUE' } Node.js v27.0.0-pre Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-http2-response-splitting.js
sccache stats - test-macOS
67% - 3312 hits, 1665 misses, 0 errors