summaryrefslogtreecommitdiff
path: root/inc/Mailer.class.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 22:09:04 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 22:09:04 +0100
commitacbf061c66059df3daf7cdbe7e8ec4182418dd20 (patch)
tree5a1c771482a627ee8ee435390b9007e1d5fae3c9 /inc/Mailer.class.php
parent221cb66533e11a3e20e642d760af06bb19f7e14b (diff)
downloadrpg-acbf061c66059df3daf7cdbe7e8ec4182418dd20.tar.gz
rpg-acbf061c66059df3daf7cdbe7e8ec4182418dd20.tar.bz2
add Reply-To and Sender to whitelist for cleanAddress FS#2916
Diffstat (limited to 'inc/Mailer.class.php')
-rw-r--r--inc/Mailer.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php
index 2ac2c1d60..480dc0e01 100644
--- a/inc/Mailer.class.php
+++ b/inc/Mailer.class.php
@@ -522,7 +522,7 @@ class Mailer {
// clean up addresses
if(empty($this->headers['From'])) $this->from($conf['mailfrom']);
- $addrs = array('To', 'From', 'Cc', 'Bcc');
+ $addrs = array('To', 'From', 'Cc', 'Bcc', 'Reply-To', 'Sender');
foreach($addrs as $addr) {
if(isset($this->headers[$addr])) {
$this->headers[$addr] = $this->cleanAddress($this->headers[$addr]);