From 273f916e770bec7a04560d5ab65ca2f1656cbf3e Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 3 May 2002 21:34:10 +0000 Subject: [PATCH] Don't encode the @ in addr-specs with rfc2047 if local-part contains non-US-ASCII characters. This happens in anticipation of rfc2047 maybe becoming allowed for local-parts (IDNA would be used for domain-names). Even if it's not, this is still better than encoding the complete addr-spec (sans < > ) svn path=/trunk/kdenetwork/kmail/; revision=153614 --- kmmsgbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmmsgbase.cpp b/kmmsgbase.cpp index e62c3dc44..95cd8246d 100644 --- a/kmmsgbase.cpp +++ b/kmmsgbase.cpp @@ -464,7 +464,7 @@ QString KMMsgBase::decodeRFC2047String(const QCString& aStr) //----------------------------------------------------------------------------- const QString especials = "()<>@,;:\"/[]?.= \033"; -const QString dontQuote = "\"()<>,"; +const QString dontQuote = "\"()<>,@"; QCString KMMsgBase::encodeRFC2047Quoted(const QCString& aStr, bool base64) {