FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-159304: Fix AttributeError in email get_body() for nested malformed multipart by jul3x · Pull Request #159306 · python/cpython · GitHub

Repository navigation

gh-159304: Fix AttributeError in email get_body() for nested malformed multipart - #159306

Merged
bitdancer merged 1 commit into
python:mainfrom
jul3x:malformed-email-159304
Oct 15, 2026
Merged

bitdancer merged 1 commit into
python:mainfrom
jul3x:malformed-email-159304

Conversation

jul3x commented Oct 13, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

MIMEPart._find_body() checked self.is_multipart() instead of part.is_multipart() when recursing.

jul3x requested a review from a team as a code owner October 13, 2026 11:07

python-cla-bot Bot commented Oct 13, 2026 •
edited
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

…lformed multipart

MIMEPart._find_body() checked self.is_multipart() instead of
part.is_multipart() when recursing.
jul3x force-pushed the malformed-email-159304 branch from d088e17 to a8973dc Compare October 13, 2026 11:12

bitdancer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

bitdancer merged commit fdec4df into python:main Oct 15, 2026
59 checks passed
bitdancer added awaiting merge needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Oct 15, 2026

Copy link
Copy Markdown

Thanks @jul3x for the PR, and @bitdancer for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

Copy link
Copy Markdown

Thanks @jul3x for the PR, and @bitdancer for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

bedevere-app Bot commented Oct 15, 2026

Copy link
Copy Markdown

GH-159491 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 15, 2026

bedevere-app Bot commented Oct 15, 2026

Copy link
Copy Markdown

GH-159492 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 15, 2026
bitdancer pushed a commit that referenced this pull request Oct 16, 2026
…alformed multipart (GH-159306) (#159491)

MIMEPart._find_body() incorrectly checked self.is_multipart() instead of
part.is_multipart() when recursing.
(cherry picked from commit fdec4df)

Co-authored-by: Julian Prolejko <39591181+jul3x@users.noreply.github.com>
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
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


Back | FazBrowse Home | New Git URL