Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart emails when parsing header only#107016
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedJul 22, 2023
Most changes to Pythonrequire a NEWS entry. Please add it using theblurb_it web app or theblurb command-line tool. |
ghost commentedJul 22, 2023 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
bedevere-bot commentedJul 22, 2023
Most changes to Pythonrequire a NEWS entry. Please add it using theblurb_it web app or theblurb command-line tool. |
Thanks@htsedebenham for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
bedevere-bot commentedJul 23, 2023
GH-107111 is a backport of this pull request to the3.12 branch. |
…alid multipart emails when parsing header only (pythonGH-107016)(cherry picked from commitc65592c)Co-authored-by: htsedebenham <31847376+htsedebenham@users.noreply.github.com>
bedevere-bot commentedJul 23, 2023
GH-107112 is a backport of this pull request to the3.11 branch. |
…alid multipart emails when parsing header only (pythonGH-107016)(cherry picked from commitc65592c)Co-authored-by: htsedebenham <31847376+htsedebenham@users.noreply.github.com>
…alid multipart emails when parsing header only (python#107016)
…alid multipart emails when parsing header only (python#107016)
Uh oh!
There was an error while loading.Please reload this page.
The following code used to report a MultipartInvariantViolationDefect. However, the message body is not parsed when
headersonly=True, so the parsing required foris_multipart()to work is not carried out. Add this as a case to ignore when validating the message body inclose()