You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
β question about the decisions made in the repository
π Describe the bug. What is the current behavior?
When Cheroot receives a request that uses field line folding, it uses the last line's value instead of concatenating all received lines' values together.
i.e., when Cheroot receives a request like this:
GET / HTTP/1.1\r\n
Host: whatever\r\n
Test: 1\r\n
2\r\n
3\r\n
\r\n
...it sees the Test header as having a value of 3, instead of 1 2 3.
β What is the motivation / use case for changing the behavior?
This is a logic bug.
π‘ To Reproduce
Steps to reproduce the behavior:
Run a Cheroot server that echos back received headers (such as this one).
β I'm submitting a ...
π Describe the bug. What is the current behavior?
When Cheroot receives a request that uses field line folding, it uses the last line's value instead of concatenating all received lines' values together.
i.e., when Cheroot receives a request like this:
...it sees the
Test
header as having a value of3
, instead of1 2 3
.β What is the motivation / use case for changing the behavior?
This is a logic bug.
π‘ To Reproduce
Steps to reproduce the behavior:
π‘ Expected behavior
Cheroot should either have a header value of
a b c
,a b c
, or reject the request.π Environment
Linux 3dd8401f8901 6.9.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: