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

** Bug watch added: GNOME Bug Tracker #518312
   http://bugzilla.gnome.org/show_bug.cgi?id=518312

** Also affects: evolution via
   http://bugzilla.gnome.org/show_bug.cgi?id=518312
   Importance: Unknown
       Status: Unknown

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to