Skip to content

gh-135854: Fix function email.message.Message.get_boundary strips boundaries twice#135891

Open
tanloong wants to merge 7 commits intopython:mainfrom
tanloong:fix-duplicate-boundary-stripping
Open

gh-135854: Fix function email.message.Message.get_boundary strips boundaries twice#135891
tanloong wants to merge 7 commits intopython:mainfrom
tanloong:fix-duplicate-boundary-stripping

Conversation

@tanloong
Copy link
Copy Markdown
Contributor

@tanloong tanloong commented Jun 24, 2025

email.message.get_boundary() invokes email.message.get_param() and utils.collapse_rfc2231_value(), causing boundaries being stripped twice. This PR passes unquote=False to email.message.get_param() to avoid the redundant stripping.

Comment thread Lib/test/test_email/test_email.py Outdated
Comment thread Lib/test/test_email/test_email.py Outdated
@tanloong
Copy link
Copy Markdown
Contributor Author

tanloong commented Aug 9, 2025

Hi all, it's been a month and a half since this PR is created. Could some core dev give this PR a review? Thanks.

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review stale Stale PR or inactive for long period of time. topic-email

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants