Skip to content

Check whether stream correctly ends in dechunk#22548

Draft
Sjord wants to merge 1 commit into
php:masterfrom
Sjord:dechunk-eof-validation
Draft

Check whether stream correctly ends in dechunk#22548
Sjord wants to merge 1 commit into
php:masterfrom
Sjord:dechunk-eof-validation

Conversation

@Sjord

@Sjord Sjord commented Jul 2, 2026

Copy link
Copy Markdown

At the end of the stream, we expect to have read the trailer. Check whether the chunked encoding is at the end of the encoded data when the stream ends.

This makes it more difficult to abuse the dechunk filter for abuse.

Related to #21983

At the end of the stream, we expect to have read the trailer. Check
whether the chunked encoding is at the end of the encoded data when the
stream ends.

This makes it more difficult to abuse the dechunk filter for abuse.

Related to php#21983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant