From 544e93daf825f171e9f2b784a16d2ea36314f098 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 10 Nov 2019 23:45:23 -0500 Subject: Bugs 1402750 and 1490331 - Declare the character set correctly in the 'PGP add-on is missing' message. Tag #1273 --- mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mailnews/mime') diff --git a/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp b/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp index de4ec3174..5c56a1809 100644 --- a/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp +++ b/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp @@ -356,14 +356,14 @@ nsPgpMimeProxy::Finish() { } else { nsCString temp; - temp.Append("Content-Type: text/html\r\nCharset: UTF-8\r\n\r\n"); - temp.Append("
"); - temp.Append("
"); + temp.AppendLiteral("Content-Type: text/html; Charset=utf-8\r\n\r\n"); + temp.AppendLiteral("
"); + temp.AppendLiteral("
"); nsCString tString; PgpMimeGetNeedsAddonString(tString); temp.Append(tString); - temp.Append("

\r\n"); + temp.AppendLiteral("

\r\n"); PR_SetError(0,0); int status = mOutputFun(temp.get(), temp.Length(), mOutputClosure); -- cgit v1.2.3