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(GODT-2929): Fix message hash when text transfer encoding differs #396

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

LBeernaertProton
Copy link
Contributor

It's possible for an IMAP client to send UTF8 encoded text with different transfer encodings to SMTP and IMAP. Since this hashing function is used to detect duplicates, we need to decode the text before hashing.

It's possible for an IMAP client to send UTF8 encoded text with
different transfer encodings to SMTP and IMAP. Since this hashing
function is used to detect duplicates, we need to decode the text before
hashing.
@LBeernaertProton LBeernaertProton merged commit 5eb2eee into dev Sep 11, 2023
4 checks passed
@LBeernaertProton LBeernaertProton deleted the fix/GODT-2929 branch September 11, 2023 13:42
cuthix pushed a commit to ProtonMail/proton-bridge that referenced this pull request Oct 17, 2023
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.

None yet

2 participants