Skip to content

Fix for double newline issue when a redirect is used - #97

Merged
tsteur merged 1 commit into
masterfrom
double-newline-bugfix
Nov 14, 2021
Merged

Fix for double newline issue when a redirect is used#97
tsteur merged 1 commit into
masterfrom
double-newline-bugfix

Conversation

@JasonMortonNZ

Copy link
Copy Markdown
Contributor

Description:

This PR solves an issue discovered when a redirect is used, and multiple double newlines (\r\n\r\n) are added amongst the headers. As a result the previous method used to split the headers from the content meant that part of the header could still be included within the response content if there was multiple double newline (\r\n\r\n). This PR aims to solve this issue.

Review

@tsteur

tsteur commented Nov 14, 2021

Copy link
Copy Markdown
Member

Tested it and works with and without redirect 👍

@tsteur
tsteur merged commit 1afff79 into master Nov 14, 2021
@justinvelluppillai
justinvelluppillai deleted the double-newline-bugfix branch November 29, 2021 00:41
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.

2 participants