[Bug 69007] [PATCH] Non RFC2047 conformant encoded-words

Chris Heath chris at heathens.co.nz
Sun Nov 23 21:44:00 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=69007


Chris Heath chris heathens co nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at heathens.co.nz




--- Comment #6 from Chris Heath <chris heathens co nz>  2008-11-23 22:43:59 ---
IMHO this patch is a good start, but I think adding an "unstructured" parameter
to encodeRFC2047String() is going in the wrong direction.

Why? Structured headers should be escaped piece by piece, not as a whole
string.  For example, consider this (unescaped) From: header:

From: Chris <<ク>> Heath <me at example.com>

The first 2 "<" must be escaped, but the third must not.  encodeRFC2047String()
can't know that.  Fix the callers of encodeRFC2047String() instead.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list