Skip to content

Normalize bare carriage returns in header line endings - #13691

Open
RajaMuhammadAwais wants to merge 1 commit into
apache:masterfrom
RajaMuhammadAwais:fix-13624
Open

RajaMuhammadAwais wants to merge 1 commit into
apache:masterfrom
RajaMuhammadAwais:fix-13624

Conversation

@RajaMuhammadAwais

Copy link
Copy Markdown
Contributor

Validate the bytes between the trimmed field value and the terminating CRLF before preserving raw header input. This prevents whitespace-separated bare CR characters from being forwarded while retaining the raw-print fast path for valid fields. Add request and response regression coverage. Fixes #13624.

Validate the bytes between the trimmed field value and the terminating CRLF before preserving raw header input. This prevents whitespace-separated bare CR characters from being forwarded while retaining the raw-print fast path for valid fields. Add request and response regression coverage. Fixes apache#13624.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bare carriage returns in header line endings are still forwarded when separated from the CRLF by whitespace

2 participants