Skip to content

gh-136052: Do not generate empty encoded-words#136099

Open
chrullrich wants to merge 3 commits intopython:mainfrom
chrullrich:fix-136052-2
Open

gh-136052: Do not generate empty encoded-words#136099
chrullrich wants to merge 3 commits intopython:mainfrom
chrullrich:fix-136052-2

Conversation

@chrullrich
Copy link
Copy Markdown
Contributor

@chrullrich chrullrich commented Jun 29, 2025

Fixes #136052.

The code assumes that it will always be able to encode a single character. This is not always true, such as when the CTE is quoted-printable and the line has space remaining for less than three characters.

@chrullrich chrullrich requested a review from a team as a code owner June 29, 2025 13:30
@chrullrich chrullrich changed the title Fix #136052 gh-136052: Do not generate empty encoded-words Jun 29, 2025
@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 review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

email.message generates invalid encoded header

1 participant