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

[#7886] trailing white space attachment processing #7887

Merged
merged 3 commits into from
Sep 4, 2023

Conversation

gbp
Copy link
Member

@gbp gbp commented Sep 4, 2023

Relevant issue(s)

Fixes #7886

What does this do?

  • Minor refactor
  • Fixes attachment processing when there is trailing white space in previously extracted attachments.

Same operations are being performed three times. Extract out into a
helper function in order to simplify the code.
We don't need to calculated the digest for the body passed as an
argument more than once.
Some previously extracted attachment appear to have extra trailing
white space, this commits strips this in order identify the original
attachment body.

Fixes #7886
@gbp gbp merged commit 92f576f into develop Sep 4, 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 - trailing whitespace
1 participant