プロジェクト

全般

プロフィール

Vote #74703

完了

MailHandler : text/plain attachments are added to description

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
77
issue_org_id:
15684
author_id:
91703
assigned_to_id:
1
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
70
ステータス-->[Closed]

説明

When handling email messages with text/plain file attached, it's contents is attached to issue description text (file from email is also properly attached to newly created issue, as it should be).

I believe that it may be caused by patch #13646, which combines all text/plain message parts to issue description and not distinguish between text part and file attachment?.

Example of problematic mail (sent from Thunderbird client):

--===============0191659920==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

SGzDocWhZW7DrSBvIGNoeWLEmyB2IHByb2dyYW11IEhPUkVTCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09CgpEYXR1bTogMTEuMTIuMjAxMy... proper message body text continues

--===============0191659920==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="log_message.txt"

RGF0ZTogICAgMTEuMTIuMjAxMyAxODoxODowMQpNZXNzYWdlOiBBdHRyaWJ1dGVFcnJvcjogJ2Z1
bmN0aW9uJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnaXNEZWFkJwpUeXBlOiAgICA0C... attachment data continues

Problems started when upgraded to Redmine 2.4.0


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Could you please attach a full example email so we can test this?
--------------------------------------------------------------------------------
Fixed in r12420, thanks for pointing this out.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------


related_issues

relates,Closed,13646,Fix handling multiple text parts in email

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail receiving_29 にセット
  • 対象バージョン2.4.2_77 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0