diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 23:45:23 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 23:45:23 -0500 |
commit | 544e93daf825f171e9f2b784a16d2ea36314f098 (patch) | |
tree | b54e1df2cc9160d7c2e28e0250a4812126bbcbff /mailnews/mime | |
parent | 05b84061f2cc7ca6cf009ad2fc2ed7556cfcae4e (diff) | |
download | UXP-544e93daf825f171e9f2b784a16d2ea36314f098.tar UXP-544e93daf825f171e9f2b784a16d2ea36314f098.tar.gz UXP-544e93daf825f171e9f2b784a16d2ea36314f098.tar.lz UXP-544e93daf825f171e9f2b784a16d2ea36314f098.tar.xz UXP-544e93daf825f171e9f2b784a16d2ea36314f098.zip |
Bugs 1402750 and 1490331 - Declare the character set correctly in the 'PGP add-on is missing' message.
Tag #1273
Diffstat (limited to 'mailnews/mime')
-rw-r--r-- | mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<html><body>"); - temp.Append("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">"); - temp.Append("<center><table BORDER=1 ><tr><td><CENTER>"); + temp.AppendLiteral("Content-Type: text/html; Charset=utf-8\r\n\r\n<html><body>"); + temp.AppendLiteral("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">"); + temp.AppendLiteral("<center><table BORDER=1 ><tr><td><CENTER>"); nsCString tString; PgpMimeGetNeedsAddonString(tString); temp.Append(tString); - temp.Append("</CENTER></td></tr></table></center><BR></body></html>\r\n"); + temp.AppendLiteral("</CENTER></td></tr></table></center><BR></body></html>\r\n"); PR_SetError(0,0); int status = mOutputFun(temp.get(), temp.Length(), mOutputClosure); |