diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-01-27 21:30:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-27 21:30:52 +0000 |
commit | b443d8260a1200e3b9ff7de5a0812a79fb83dafe (patch) | |
tree | 23d017d7f476da0bb9a37ad50a13f8690dffd9f2 | |
parent | f97078913a7a45adc1f1640d31e032ff7f232e48 (diff) | |
parent | 7d5502ada6f6ac93a41a580bf8e99401636d4dff (diff) | |
download | rspamd-b443d8260a1200e3b9ff7de5a0812a79fb83dafe.tar.gz rspamd-b443d8260a1200e3b9ff7de5a0812a79fb83dafe.zip |
Merge pull request #2732 from analogic/patch-2
Another LF to CRLF transform in DMARC report
-rw-r--r-- | src/plugins/lua/dmarc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index d7ee043b9..f05579d2d 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -977,7 +977,7 @@ if opts['reporting'] == true then report_start, report_end) conn:add_write(pre_quit_cb, {rhead, encoded, - report_footer, + report_footer:gsub("\n", "\r\n"), '\r\n.\r\n'}) end end |