github / github/email_reply_parser

Multi-line reply headers not recognized if quoted ones are found below

未關閉
#47 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Ruby
星號
708
分支
156
PR 合併指標
30 天內沒有已合併 PR

描述

The fix to #23 seems to have broken reply header handling in emails like [this one](https://github.com/grossvogel/email_reply_parser/blob/multi-line-reply-headers/test/emails/broken_reply_header.txt), containing more reply headers in the quoted text below.

_Expected Behavior_: The first reply header gets its line breaks removed, and ends up in the second fragment along with all of the quoted text.

_Observed Behavior_: The line breaks aren't removed, and therefore it's not recognized as a reply header later on. So the reply header ends up in the first fragment instead of the second.

貢獻指南

開啟貢獻指南

研究方向

Start with test/emails/broken_reply_header.txt and review the reply-header handling affected by the fix to #23. Compare the expected and observed fragment behavior in this issue; done means the first reply header has its line breaks removed, is recognized, and appears with the quoted text in the second fragment.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ruby
領域
backend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。