-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-123742: Fixed get_payload
not being able to parse headers with spaces
#123761
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
Closed
Closed
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6c16b10
After getting the email encoding format, added strip() to remove unex…
rruuaanng 00bd8e8
Merge branch 'main' into dev2
rruuaanng c09f7de
Added NEWS
rruuaanng 392e5f2
Merge branch 'dev2' of https://github.com/rruuaanng/cpython into dev2
rruuaanng c797db7
Change NEWS
rruuaanng a069a66
Merge branch 'main' into dev2
rruuaanng b8b12fc
Merge branch 'main' into dev2
rruuaanng 7a2e33e
Change NEWS
rruuaanng f1b7522
Change NEWS
rruuaanng c00f6f6
Change NEWS
rruuaanng 3f6e880
Change NEWS
rruuaanng da81539
Add test
rruuaanng 4a8e0e2
strip(' ') change to strip()
rruuaanng 1f67d98
Chang docstring
rruuaanng a48deb7
clean ci error
rruuaanng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Library/2024-09-06-11-58-17.gh-issue-123742.jSBNUv.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fixed :meth:`!email.Message.get_payload` failing to parse the | ||
``content-transfer-encoding`` field with extra spaces. It will now | ||
automatically strip spaces from ``content-transfer-encoding``. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.