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

quoted-printable attachment missing some tabs #379

Closed
ornotnull opened this issue Nov 17, 2024 · 3 comments
Closed

quoted-printable attachment missing some tabs #379

ornotnull opened this issue Nov 17, 2024 · 3 comments

Comments

@ornotnull
Copy link

Hello!

Prepared the example - mail.eml.gz
One file.csv attachment is encoded as quoted-printable.
After extraction it's missed some tabs delimiters.

missing-tabs.mjs - to run the example

"A" "field1" "01/01/2024" "field3 long" "01/01/2024" "01/01/2024""XYZ" "long long field long long field" "BBBBBBB" "AA" "00000" "AAAAAAAA" "an other field" "test" "OO" "00000" "00000000" "CDE" 1 "00000" "000000" 0.01 0.02 0.03 0.04 0.05 0.06 "AAA BBB" "0" "A" "field1" "01/01/2024" "field3 long" "01/01/2024" "01/01/2024""XYZ" "long long field long long field" "BBBBBBB" "AA" "00000""AAAAAAAA" "an other field" "test" "OO" "00000" "00000000" "CDE" 1 "00000" "000000" 0.01 0.02 0.03 0.04 0.05 0.06 "AAA BBB" "0" "A" "field1" "01/01/2024" "field3 long" "01/01/2024" "01/01/2024""XYZ" "long long field long long field" "BBBBBBB" "AA" "00000" "AAAAAAAA" "an other field" "test" "OO" "00000" "00000000" "CDE" 1 "00000" "000000" 0.01 0.02 0.03 0.04 0.05 0.06 "AAA BBB" "0"

Tabs are missed here:
"01/01/2024""XYZ" (3 times)
"00000""AAAAAAAA" (once)

tested with the node v22.11.0 and [email protected]

missing-tabs.mjs.gz
mail.eml.gz

@ornotnull
Copy link
Author

@nahne, thank you!

Confirm, your PR for libpq fixed this issue!

@andris9
Copy link
Member

andris9 commented Nov 29, 2024

Could you try v3.7.2 to see if the fix helped?

@andris9 andris9 closed this as completed Nov 29, 2024
@ornotnull
Copy link
Author

@andris9, thank you!
This issue has been fixed in v3.7.2!

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

No branches or pull requests

2 participants