[exim-dev] [Bug 257] An expansion operator that decodes RFC …

Etusivu
Poista viesti
Vastaa
Lähettäjä: bug257
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 257] An expansion operator that decodes RFC 2047 strings
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=257


holmgren@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|ph10@???       |holmgren@???
             Status|NEW                         |ASSIGNED





------- Comment #1 from holmgren@??? 2007-01-24 01:03 -------
Created an attachment (id=51)
--> (http://www.exim.org/bugzilla/attachment.cgi?id=51&action=view)
Adds an expansion operator rfc2047d

Should be as simple as this, shouldn't it? Named analogously to base62/base62d.
Compiled and briefly tested. What about the error handling? rfc2047_decode()
only indicates an error in one situation: if iconv_open() fails. Should
expansion fail if that happens? Other errors cause the (rest of the) encoded
string to be returned untouched. If iconv_open() fails we could then as well
let the QP- or B64-decoded text be returned untranslated.

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email