diff --git a/mailnews/compose/src/nsMsgCompUtils.cpp b/mailnews/compose/src/nsMsgCompUtils.cpp index 75222bdeed39..bbafac75cb16 100644 --- a/mailnews/compose/src/nsMsgCompUtils.cpp +++ b/mailnews/compose/src/nsMsgCompUtils.cpp @@ -1244,8 +1244,7 @@ RFC2231ParmFolding(const char *parmName, const nsAFlatCString& charset, needEscape = PR_TRUE; nsCAutoString nativeParmValue; ConvertFromUnicode(charset.get(), parmValue, nativeParmValue); - dupParm = nsEscape(nativeParmValue.get(), isAsciiPreserving(charset) ? - url_Path : url_All); + dupParm = nsEscape(nativeParmValue.get(), url_XAlphas); } else { needEscape = PR_FALSE;