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

error in decoding quoted-printable subject #83

Closed
markusramsak opened this issue Dec 2, 2018 · 6 comments
Closed

error in decoding quoted-printable subject #83

markusramsak opened this issue Dec 2, 2018 · 6 comments
Labels

Comments

@markusramsak
Copy link

markusramsak commented Dec 2, 2018

Subject: FAMILY eCarsharing GAUTING STA-CL51E - Buchung
 =?utf-8?Q?ge=C3=A4n?=
 =?utf-8?Q?dert?= Text

is incorrectly decoded to

FAMILY eCarsharing GAUTING STA-CL51E - Buchung geän dert Text

instead of

FAMILY eCarsharing GAUTING STA-CL51E - Buchung geändert Text

Note: Other Mail clients like Thunderbird or Apple Mail can display the subject correctly "geändert" instead of "geän dert" therefore I think the mail is correctly encoded but the Parser inserts a whitespace where it shouldn't.

I think the issue is near the method
private function shouldAddSpace(HeaderPart $nextPart, HeaderPart $lastPart)

@zbateson
Copy link
Owner

Hi @markusramsak

Was in the middle of a move, but will take a look during this next week. You're right if it's behaving as described it's a bug. Thanks for reporting.

@markusramsak
Copy link
Author

Thank you for taking a look at this 👍

@zbateson
Copy link
Owner

zbateson commented Dec 21, 2018

Hi @markusramsak

Fixed on master and 0.4 branches, please have a look if you have a chance and I'll release over the weekend.

All the best

@markusramsak
Copy link
Author

I have tested it and it works now as expected. Thank you, thank you, thank you very much 👍

@zbateson
Copy link
Owner

No problem 👍

@zbateson zbateson added the bug label Dec 21, 2018
@zbateson
Copy link
Owner

Released in 1.1.2 and 0.4.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants