Project

General

Profile

Actions

Patch #3731

closed

Incoming mail handler : Allow spaces between keywords and colon

Added by Thomas Recloux over 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Email receiving
Target version:
Start date:
2009-08-12
Due date:
% Done:

100%

Estimated time:

Description

Actually, the keyword syntax for incoming mail is "keyword: value".
Ex : Project: foo

Some mail clients like Outlook are inserting one space before the colon symbol, causing the keywords to be ignored by Redmine.

This modification allows spaces between the keyword and the colon symbol.
Ex : Project : foo

Built against the trunk in revision 2836
Tested on the trunk and on the 0.8.4 tag
Includes unit test


Files

patch_incoming_mail_parsing.diff (4.54 KB) patch_incoming_mail_parsing.diff Thomas Recloux, 2009-08-12 15:15
Actions #1

Updated by Eric Davis over 15 years ago

  • Status changed from New to Resolved
  • Assignee set to Eric Davis
  • Target version set to 0.8.5
  • % Done changed from 0 to 100

Thank you, your patch was great. Applied in r2837.

Actions #2

Updated by Thomas Recloux over 15 years ago

Thanks for applying the patch so quickly.

I think you may have forgot to add the ticket_with_spaces_between_attribute_and_separator.eml test file ?

Actions #3

Updated by Eric Davis over 15 years ago

Thomas Recloux wrote:

I think you may have forgot to add the ticket_with_spaces_between_attribute_and_separator.eml test file ?

Oh thanks, it should be in r2838.

Actions #4

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2881.

Actions #5

Updated by Jean-Philippe Lang almost 15 years ago

  • Category changed from Email notifications to Email receiving
Actions

Also available in: Atom PDF