GNOME Bugzilla – Bug 782915
extra Subject added by g_mime_message_set_subject
Last modified: 2017-05-21 16:16:02 UTC
Created attachment 352270 [details] test case for set_subject While debugging notmuch, I stumbled upon a GmimeHeader with Subject: in raw_value. This seems wrong; at least most other headers don't have the header name in raw_value. I eventually produced the attached test case; you can see the output from get_subject is not consistent with that of g_mime_object_write_to_stream; that may relate to what I saw in the debugger where raw_value had the name in it, but not the value field.
Thanks, yea, someone else discovered this too. I've already fixed it in git master but haven't had a chance to make a new release yet (was out the last 2 weeks "shopping" for a new place to live). I'm going to try and make a new release of gmime (3.0.1) today with the fix for this.