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 processing of attachments encoded as Latin 1 #7916

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

gbp
Copy link
Member

@gbp gbp commented Sep 25, 2023

Relevant issue(s)

Fixes #7915

What does this do?

Fix processing of attachments encoded as Latin 1

Why was this needed?

When body has been encoded at Latin 1 / ISO-8859-1 we should ensure the strings are converted back to UTF-8 before generating their hexdigest.

This fixes applying masks and censor rules to some attachments.

When body has been encoded at Latin 1 / ISO-8859-1 we should ensure the
strings are converted back to UTF-8 before generating their hexdigest.

This fixes applying masks and censor rules to some attachments.

Fixes #7915
@gbp gbp force-pushed the 7915-fix-latin-1-attachment-processing branch from 6a14613 to e316079 Compare September 25, 2023 11:52
@gbp gbp merged commit 7428d29 into develop Sep 25, 2023
5 checks passed
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.

Broken attachment masking - attachments encoded as Latin 1
1 participant