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



Hi Paul,

I just filed the header folding bug: https://bugzilla.gnome.org/show_bug.cgi?id=697407

I've also got a fix I'm about to commit to git which seems to work.

I don't know about the other issue, though. When you file a bug about that one, I'll dig into it.

Jeff

On 4/5/2013 11:37 AM, Paul J Stevens wrote:
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





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