diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-03-08 11:43:48 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-03-08 11:43:48 +0100 |
commit | f5e1652bf95ed7b63a27042d8bb8b1195d7c9158 (patch) | |
tree | 01d76a78ddf635634d9d6b7124dbeb474a791e62 /web/template/pkg_comment_form.php | |
parent | a774b3d3558284bcabcc51a2447fd8b1a22ed194 (diff) | |
download | aur-f5e1652bf95ed7b63a27042d8bb8b1195d7c9158.tar.gz aur-f5e1652bf95ed7b63a27042d8bb8b1195d7c9158.tar.xz |
Always set the "To:" header when sending mail
Use "undisclosed-recipients: ;" when sending mass notifications (such as
comment notifications and the like. Addresses FS#28229.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_comment_form.php')
-rw-r--r-- | web/template/pkg_comment_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php index a2bbf714..7606ce97 100644 --- a/web/template/pkg_comment_form.php +++ b/web/template/pkg_comment_form.php @@ -43,7 +43,7 @@ if (isset($_REQUEST['comment'])) { $body = wordwrap($body, 70); $bcc = implode(', ', $bcc); $headers = "Bcc: $bcc\nReply-to: nobody@archlinux.org\nFrom: aur-notify@archlinux.org\nX-Mailer: AUR\n"; - @mail(' ', "AUR Comment for " . $row['Name'], $body, $headers); + @mail('undisclosed-recipients: ;', "AUR Comment for " . $row['Name'], $body, $headers); } } |