Project

General

Profile

Actions

Feature #34794

closed

Allow newlines and quote characters within mail body delimiters

Added by Holger Just about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

When processing incoming emails, there is the possibility to define body delimiters after which no further content should be read from the mail body.

When defining long delimiters (e.g. commonly in Setting.emails_header), the delimiter may break into multiple lines in replies with (nested) quote characters at the beginning of lines.

With the attached patch, we extend the handling of "normal" delimiters (i.e. delimiters not defined as regular expressions) so that any space within the delimiter can also span multiple lines with optional quote characters at the front. This ensures that even delimiters broken over multiple lines in incoming mails will be recognized as such.

The patch is against current trunk (r20752) and can be applied with patch -p1 < 0001-Allow-newlines-and-quote-characters-within-mail-body.patch.


Files

Actions

Also available in: Atom PDF