Skip to content

Commit

Permalink
Remove trailing line break from output of DKIM_Add(), see #1962
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Feb 16, 2020
1 parent 5bd88ca commit 837f498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4693,7 +4693,7 @@ public function DKIM_Add($headers_line, $subject, $body)
$signature = $this->DKIM_Sign($canonicalizedHeaders);
$signature = trim(chunk_split($signature, self::STD_LINE_LENGTH - 3, static::$LE . self::FWS));

return static::normalizeBreaks($dkimSignatureHeader . $signature) . static::$LE;
return static::normalizeBreaks($dkimSignatureHeader . $signature);
}

/**
Expand Down

0 comments on commit 837f498

Please sign in to comment.