プロジェクト

全般

プロフィール

Vote #71344

完了

message_id regex in pop3.rb only recognizes Message-ID header (not Message-Id)

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

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

0%

予定工数:
category_id:
29
version_id:
40
issue_org_id:
10198
author_id:
49563
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Some servers specify message id as "Message-Id" (lowercase 'd')
This is a minor issue since it only affects logging but fixing the regex makes it easier to track mail processing.

Simple fix:
(message =~ /Message-I[Dd]: (.)/ ? $1 : '').strip
instead of:
(message =~ /Message-ID: (.
)/ ? $1 : '').strip


journals

--------------------------------------------------------------------------------
Fix committed in r8842.
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0