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

Fixed missing Buffer to string conversion. #56

Merged
merged 2 commits into from
Dec 3, 2023
Merged

Conversation

lnedry
Copy link
Contributor

@lnedry lnedry commented Nov 25, 2023

  • Fixed missing Buffer to string conversion.
  • Added test for add_data() when parse_body is true

Fixed missing Buffer to string conversion.
Added test for add_data() when parse_body is true.
Copy link
Member

@msimerson msimerson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -86,7 +86,7 @@ class Transaction {
line.toString('binary').replace(/\r\n$/, '\n'));
}
}
else if (this.header_pos && this.parse_body) {
else if (this.parse_body) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this change? This change makes the test fixture different than Haraka/transaction.js.

@haraka haraka deleted a comment from codecov-commenter Dec 3, 2023
@msimerson msimerson merged commit df7c768 into haraka:master Dec 3, 2023
10 checks passed
@msimerson msimerson mentioned this pull request Dec 3, 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.

2 participants