Skip to content

TTP/2: validate pseudo-headers in inbound request trailers#637

Merged
arturobernalg merged 1 commit intoapache:masterfrom
arturobernalg:checkTrailers
Feb 24, 2026
Merged

TTP/2: validate pseudo-headers in inbound request trailers#637
arturobernalg merged 1 commit intoapache:masterfrom
arturobernalg:checkTrailers

Conversation

@arturobernalg
Copy link
Copy Markdown
Member

RFC9113 8.1. HTTP Message Framing Trailers MUST NOT include pseudo-header fields (Section 8.3). An endpoint that receives pseudo-header fields in trailers MUST treat the request or response as malformed (Section 8.1.1).

@arturobernalg arturobernalg requested a review from ok2c February 23, 2026 11:46
ServerH2StreamHandler forwarded inbound request trailers (HEADERS in BODY
state) directly to AsyncServerExchangeHandler.streamEnd(...) without
validating trailer semantics. This allowed pseudo-header fields (':...')
to slip through on the server path.
@arturobernalg arturobernalg merged commit 9729123 into apache:master Feb 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants