-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
regression in showing eml attachments (in 1.1.3) #4937
Comments
Comment by combr on 14 Dec 2015 07:07 UTC addition: if .eml extension linked, for example, to thunderbird (windows 7) I can download and open that eml attachment correctly in thunderbird window. attach full source code of letter. |
Comment by @alecpl on 14 Dec 2015 08:04 UTC Confirmed. Works in 1.0, but not in 1.1 and above. |
Milestone changed by @alecpl on 14 Dec 2015 08:04 UTC later => 1.1.4 |
Status changed by @alecpl on 14 Dec 2015 09:14 UTC new => closed |
Comment by combr on 14 Dec 2015 09:19 UTC Thanks for fast answer, checking and fixing. Can you generate a patch for 1.1.3 for me? |
Comment by combr on 14 Dec 2015 09:54 UTC I insert this code in this file manually, and it affected the view, but not decode it correctly. I attach new screenshot. |
Comment by combr on 14 Dec 2015 10:10 UTC original letter decoded is HTML and looks like:
|
Comment by @alecpl on 14 Dec 2015 10:21 UTC What do you mean, it looks like this. Is the body base64 encoded or not in the email source? Works for me. |
Comment by combr on 14 Dec 2015 10:26 UTC body not base64 encoded, but it wrong decoded (see screenshot). It contains only dots, spaces, quotes and hyperlinks instead normal original html letter with text. |
Status changed by combr on 14 Dec 2015 10:26 UTC closed => reopened |
Comment by @alecpl on 14 Dec 2015 10:33 UTC How the source looks like? It should be base64-encoded if Content-Transfer-Encoding: base64 is specified. |
Comment by @alecpl on 14 Dec 2015 10:34 UTC Also, what you provided looks like UTF-8 not windows-1251. |
Comment by combr on 14 Dec 2015 10:42 UTC it contains only ASCII symbols, and lose all win-1251 symbols. no, it cyrillic windows-1251 in original, thunderbird show it correct. |
Status changed by @alecpl on 14 Dec 2015 11:19 UTC reopened => closed |
Comment by combr on 14 Dec 2015 12:14 UTC Yes, we got it! :) |
Reported by combr on 14 Dec 2015 06:50 UTC as Trac ticket #1490606
I upgrade 0.9.2 to 1.1.3, and found a regression in showing rfc822 attachments inline.
In a "undelivered message" standard letter I see in 0.9.2 two attachments: "delivery report" and original message in it. Original message (base64-encoded) shown correctly in preview pane.
In 1.1.3 a letter of same type with same attachments (delivery report with original message) NOT shown correctly: in preview pane i see a plain source text of original message (base64 coding) instead decoded message. 1.1.3 ignores headers when show "original message" attachment, it is:
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: base64
But this headers
From: rs_support@...
To: byk.bykov2016@...
Subject: =?Windows-1251?B?y+j37fvpIOrg4ejt5fI=?=
not ignored and show correctly in messahe header.
rc 1.1.3 uses php ver 5.4.45 , 0.9.2 uses php 5.4.4, other are same. I attach two screenshots.
Migrated-From: http://trac.roundcube.net/ticket/1490606
The text was updated successfully, but these errors were encountered: