Skip to content

Conversation

@sergstetsuk
Copy link

In some cases user may enter \r\n\t\r\n between message header and body. Then Content-Length: [len] is miscalculated. The problem is that \r\n\r\n is not found before filtering and thus extra \r\n\r\n is added at the end of the message as if there is no message body present at all.

test.xml.zip

Content-Length must be 232 instead of 234 in such case.

@wdoekes wdoekes added this to the 3.6 milestone Feb 26, 2019
@wdoekes
Copy link
Member

wdoekes commented May 20, 2019

Fixed in 61537b9. Thanks!

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.

3 participants