Project

General

Profile

Actions

Defect #10198

closed

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

Added by Elie Delorme almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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

Actions #1

Updated by Etienne Massip almost 13 years ago

  • Category set to Email receiving
  • Target version set to Candidate for next major release
Actions #2

Updated by Jean-Philippe Lang almost 13 years ago

  • Status changed from New to Closed
  • Target version changed from Candidate for next major release to 1.4.0
  • Resolution set to Fixed

Fix committed in r8842.

Actions

Also available in: Atom PDF