Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trailing equals signs mysteriously showing up on quoted-printable emails #479

Merged
merged 1 commit into from
Jan 27, 2013

Conversation

jeremy
Copy link
Collaborator

@jeremy jeremy commented Dec 17, 2012

Stripping the raw mail source can corrupt quoted-printable emails, resulting in trailing equals signs (=)

Fixes #440

@derek-watson
Copy link

👍

Trailing CRLF is significant in Quoted-Printable transfer encoding.
Stripping trailing whitespace corrupts the encoding, resulting in
odd '=' chars showing up at the end of decoded emails. Fixed by only
stripping leading whitespace.

Closes mikel#440
jeremy added a commit that referenced this pull request Jan 27, 2013
Fix trailing equals signs mysteriously showing up on quoted-printable emails
@jeremy jeremy merged commit b4c8cd2 into mikel:master Jan 27, 2013
jeremy added a commit that referenced this pull request Jan 27, 2013
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.

Mail::Message.new strips trailing newline on quoted-printable strings, resulting in illegal sequence
2 participants