postalserver / postalserver/postal

Attachment with LF in body is being replaced to CR LF

Open
#3,189 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
16.8k
Forks
1.3k
Avg merge
13d 7h
Merged PRs (30d)
2

Description

## Describe the bug
I am sending an text attachment with LF in the api but the attachment is received with CR LF

this is an issue because my client is comparing hashes and becuase of that the hashes are not the same

## To Reproduce

1. Convert a file with LF to base64
2. Send it using the api
3. The attachment wiill be with CR LF instead of LF

## Expected behaviour

The attachment should be exactly how sent it

## Environment details

- OS: sending http with Windows , node js with axios
- Version 3.3.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.