letters icon indicating copy to clipboard operation
letters copied to clipboard

Remove spaces from base64-encoded content

Open Peter2121 opened this issue 9 months ago • 1 comments

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 avatar May 26 '25 09:05 Peter2121

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.

mnako avatar Jul 27 '25 09:07 mnako