Skip to content

[3.5] bpo-30532: Fix whitespace folding in certain cases #2592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2017
Merged

[3.5] bpo-30532: Fix whitespace folding in certain cases #2592

merged 1 commit into from
Jul 6, 2017

Conversation

jhillacre
Copy link
Contributor

Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm. This makes the whitespace handling code consistent.

This is a backport of #1892

Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm.  This makes the whitespace handling code consistent.
@serhiy-storchaka serhiy-storchaka changed the title bpo-30532: Fix whitespace folding in certain cases [3.5] bpo-30532: Fix whitespace folding in certain cases Jul 6, 2017
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jul 6, 2017
@bitdancer bitdancer merged commit 3bbdf99 into python:3.5 Jul 6, 2017
@jhillacre jhillacre deleted the bpo-30532-3.5-backport branch April 10, 2018 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants