This is a (very bad) workaround which I used to try to find the root of
the problem.

I say that this is a very bad workaround, because it simply refuses to
send a charset parameter for text/x-java files (and anything other than
text/plain, which seemed like a good test case for me since I am not
sending text/plain attachments in this situation).  This patch SHOULD
NOT BE USED by anyone other than to confirm that this works around the
problem in the description.

It looks like that the real workaround would have to be to modify
evolution-data-server, file camel/camel-mime-utils.c, function
camel_header_param_list_format_append(), such that it caches the name=
parameter when present and appends it last, when there are multiple
parameters passed to it for formatting.  In light of this finding, I am
going to add EDS to the affected packages momentarily.

** Attachment added: "[DO NOT USE] Workaround sending charset= after name= by 
not sending it at all."
   http://launchpadlibrarian.net/12165585/debdiff-bad-fix.patch

** Also affects: evolution-data-server (Ubuntu)
   Importance: Undecided
       Status: New

-- 
name parameter for content-type for attachments should be last
https://bugs.launchpad.net/bugs/194642
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to