Fix so bounces addresses in Sender headers are skipped on Reply-All (#1489011)

pull/79/head
Aleksander Machniak 12 years ago
parent 5df4fe56d5
commit ad2ba95dcd

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix so bounces addresses in Sender headers are skipped on Reply-All (#1489011)
- Fix bug where serialized strings were truncated in PDO::quote() (#1489142) - Fix bug where serialized strings were truncated in PDO::quote() (#1489142)
- Improved handling of Reply-To/Bcc addresses of identity in compose form (#1489016) - Improved handling of Reply-To/Bcc addresses of identity in compose form (#1489016)
- Fix displaying messages with invalid self-closing HTML tags (#1489137) - Fix displaying messages with invalid self-closing HTML tags (#1489137)

@ -327,7 +327,8 @@ foreach ($parts as $header) {
$fvalue .= $v; $fvalue .= $v;
if ($v = $MESSAGE->headers->cc) if ($v = $MESSAGE->headers->cc)
$fvalue .= (!empty($fvalue) ? $separator : '') . $v; $fvalue .= (!empty($fvalue) ? $separator : '') . $v;
if ($v = $MESSAGE->headers->get('Sender', false)) // Use Sender header (#1489011)
if (($v = $MESSAGE->headers->get('Sender', false)) && strpos($v, '-bounces@') === false)
$fvalue .= (!empty($fvalue) ? $separator : '') . $v; $fvalue .= (!empty($fvalue) ? $separator : '') . $v;
// When To: and Reply-To: are the same we add From: address to the list (#1489037) // When To: and Reply-To: are the same we add From: address to the list (#1489037)

Loading…
Cancel
Save