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

MIME::QuotedPrint::decode_qp destroys user data #13

Open
PommesSchranke opened this issue Jun 12, 2021 · 0 comments
Open

MIME::QuotedPrint::decode_qp destroys user data #13

PommesSchranke opened this issue Jun 12, 2021 · 0 comments

Comments

@PommesSchranke
Copy link

MIME::QuotedPrint::decode_qp destroys user data

MIME::QuotedPrint::decode_qp enforces some “standard” EOL, ”\r\n” namely, on each and every line if no encoded EOL was found (e.g. ’=0D=0A’), thereby changing the checksum of the document if the intended (and found) EOL was ”\n” only (and no encoded EOL '=0D=' was found). It thereby changes the checksum of documents, rendering digital signatures invalid.

What MIME::QuotedPrint::decode_qp should do instead

MIME::QuotedPrint::decode_qp should go with the EOL provided by the user, whether encoded or not.

See my pull request.

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

No branches or pull requests

1 participant