summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-02-06 11:46:58 +0100
committerjustdave%syndicomm.com <>2002-02-06 11:46:58 +0100
commit2ddb47368170e74243086863fedc925300b45dd8 (patch)
treedfee4102def1287001f0d1d4ebcc3a030622425f /Bugzilla
parent9612f5b87b1503cdfc56c8170bead7cd47de783e (diff)
downloadbugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.gz
bugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.xz
Fix for bug 117055: Emails were being truncated if they contained a line with nothing but a period on them. We now pass -i to
sendmail and its clones to tell it to ignore periods (since we close the pipe when we're done, rather than signalling it with a period). Has been tested with sendmail and postfix. Patch by Dave Miller <justdave@syndicomm.com> r= afranke, bugzilla@bkor.dhs.org, jake
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Token.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index f2c5fbde7..1cff2fac2 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -101,7 +101,7 @@ sub MailPasswordToken {
my $emailsuffix = &::Param('emailsuffix');
$token = &::url_quote($token);
- open SENDMAIL, "|/usr/lib/sendmail -t";
+ open SENDMAIL, "|/usr/lib/sendmail -ti";
print SENDMAIL qq|From: bugzilla-daemon
To: $emailaddress$emailsuffix
@@ -144,7 +144,7 @@ sub Cancel {
my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname;
# Notify the user via email about the cancellation.
- open SENDMAIL, "|/usr/lib/sendmail -t";
+ open SENDMAIL, "|/usr/lib/sendmail -ti";
print SENDMAIL qq|From: bugzilla-daemon
To: $username
Subject: "$tokentype" token cancelled