webmcp

changeset 560:75204c64cc5f tip

Use CRLF instead of LF for terminating raw header
author jbe
date Tue Jun 09 13:27:58 2020 +0200 (5 months ago)
parents 318fdbb5f0f4
children
files framework/env/encode/mime/mail.lua
line diff
     1.1 --- a/framework/env/encode/mime/mail.lua	Tue Jun 09 13:25:29 2020 +0200
     1.2 +++ b/framework/env/encode/mime/mail.lua	Tue Jun 09 13:27:58 2020 +0200
     1.3 @@ -63,7 +63,7 @@
     1.4    if args.raw_headers then
     1.5      for i, raw_header in ipairs(args.raw_headers) do
     1.6        parts[#parts+1] = raw_header
     1.7 -      parts[#parts+1] = "\n"
     1.8 +      parts[#parts+1] = "\r\n"
     1.9      end
    1.10    end
    1.11    parts[#parts+1] = "MIME-Version: 1.0\r\n"

Impressum / About Us