Skip to content

Conversation

@Peter2121
Copy link

Some software creates mails with multi-line base64-encoded content with spaces inside (at the beginning of lines). Golang base64 decoder does not remove them, so such content is not decoded properly. It seems that this problem will be fixed in Golang 1.26. This PR fixes the problem, removing spaces from base64-encoded content.

@Peter2121 Peter2121 requested a review from mnako as a code owner May 26, 2025 09:21
@mnako
Copy link
Owner

mnako commented Jul 27, 2025

Thank you for this contribution, @Peter2121 .

If you could add test cases following our existing patterns to show an example of base64-encoded content that needs spaces removed we will be happy to review this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants