Re: [gmime-devel] unexpected rewrapping in long lines



On 04/05/2013 04:11 PM, Jeffrey Stedfast wrote:

It looks like the Subject header above is broken in that there is no
white space separating the beginning of the encoded-word token from the
preceding text.

Ah. Ok.

If you could submit a bug report about this and a sample message (with a
Subject like the one you pasted above), I'll try to look into fixing
this properly when I get a chance - probably by fixing the header_fold()
logic to use the tokenizer or something.

I'll wip up a working proof-of-concept that exercises this bug and file
a report.


Or maybe I'll fix it by enabling this identical workaround if
g_mime_init() was initialized with the ENABLE_RFC2047_WORKAROUNDS flag
(do you use that flag?).

I didn't. But I will!

thanks


-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/info nfg nl/+31.85.877.99.97
________________________________________________________________


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]