mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Restrict Usenet-style signature detection with ending of carriage return or new line.
This commit is contained in:
parent
03683fce69
commit
1cbc5779f0
@ -2345,7 +2345,7 @@ class mail_compose
|
||||
|
||||
// Try to remove signatures from qouted parts to avoid multiple
|
||||
// signatures problem in reply (rfc3676#section-4.3).
|
||||
if ($_mode != 'forward' && ($hasSignature || ($hasSignature = preg_match("/^--(\s|\s[\r\n])$/",$value))))
|
||||
if ($_mode != 'forward' && ($hasSignature || ($hasSignature = preg_match("/^--\s[\r\n]$/",$value))))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user