[Bug 194642] Re: name parameter for content-type for attachments should be last
** Changed in: evolution Importance: Unknown = Medium -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
This fix is included in Ubuntu for Intrepid. ** Changed in: evolution-data-server (Ubuntu) Status: Confirmed = Fix Released -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
It would seem that the version that I put together was using the _previous_ released version that I had already on my computer. This patch is based on the version currently in Hardy as the latest available. A binary build of it is in my PPA, with the ~ppa1 package version suffix. ** Attachment added: Fixed version, for latest in Hardy http://launchpadlibrarian.net/16140666/lp194642.debdiff -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
https://edge.launchpad.net/~mtrausch/+archive --- I have a binary built there which comes from this attached patch (though this patch does not have the ~ppa1 version postfix on it). This patch is already included upstream, so probably doesn't need to be directly included into Intrepid. It should probably be pushed out for Hardy, if that's possible at all at this point. Something tells me, though, that it probably isn't. ** Attachment added: Work around broken MIME parsers when name param is not last using quoting of parameter http://launchpadlibrarian.net/16028984/lp194642.debdiff -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Patch has been submitted here and a build with that patch enabled is available on my PPA; removing bug assignment to me. ** Changed in: evolution-data-server (Ubuntu) Assignee: Michael B. Trausch (mtrausch) = (unassigned) Status: In Progress = Confirmed -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Michael, any updates here? Thanks. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 194642] Re: name parameter for content-type for attachments should be last
On Mon, 2008-07-14 at 16:25 +, hggdh wrote: Michael, any updates here? Thanks. Yep. Sorry, have been buried with all sorts of things, and just (finally) graduated school. I will have a debdiff today for both Hardy and Intrepid to close this bug. --- Mike -- My sigfile ran away and is on hiatus. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Upstream has committed a patch for this fix; will be providing a debdiff with that patch shortly so that this issue can be closed here in Ubuntu as well. ** Changed in: evolution-data-server (Ubuntu) Assignee: (unassigned) = Michael B. Trausch (mtrausch) Status: Triaged = In Progress -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
** Changed in: evolution Status: New = Fix Released -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Updating for latest release pushed out recently. ** Attachment added: Diff 30-Mar-2008 against 0ubuntu2 to make it 0ubuntu3 and include this bugfix. http://launchpadlibrarian.net/12974101/lp194642-updated.debdiff -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Sébastian: could you please take a look at it? -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
would be better to have upstream opinion on the patch before using it, if the change is correct no reason it could not go to their svn, unsubscribing the sponsor team for now -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Updated patch to apply for newly released e-d-s. ** Attachment added: Updated debdiff against new release of EDS http://launchpadlibrarian.net/12551176/lp194642-updated.debdiff -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Michael, I will also apply your fix, and see what happens. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Michael, I am not sure. Confirmed was used of old for this is as far as bugsquad can go; we later went on to Triaged meaning that. I would keep it how it is now, and see if a sponsor complains... Also -- it might be a good idea to show the output of your change, and state if you checked it against normal servers. Upstream will certainly ask for this. On my immense ignorance of Evo internals, the patch still looks good... thanks again. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 194642] Re: name parameter for content-type for attachments should be last
On Fri, 2008-03-07 at 15:29 +, hggdh wrote: Michael, I am not sure. Confirmed was used of old for this is as far as bugsquad can go; we later went on to Triaged meaning that. I would keep it how it is now, and see if a sponsor complains... Also -- it might be a good idea to show the output of your change, and state if you checked it against normal servers. Upstream will certainly ask for this. Indeed. This is what the header now looks like when re-arranged (I am pasting these from a 40 MB message I just put together to showcase a bunch of different types of files. Content-Type: text/x-java; charset=UTF-8; name=WeeklyPay.java Content-Type: text/x-csharp; charset=UTF-8; name=fsw.cs Content-Type: application/x-ms-dos-executable; name=threading.exe Content-Type: image/png; name=mbt Content-Type: application/pgp-signature; name=signature.asc Content-Type: application/pgp-signature; name=UbuntuCodeofConduct-1.0.1.txt.asc Content-Type: audio/x-vorbis+ogg; name=TWiT0134.ogg I have been using this patch for several days now and everything appears to be working just fine; the broken server that I am working around now silently drops charset MIME header parameters, but no other server I have sent mail through has done that sort of thing, to my knowledge. On my immense ignorance of Evo internals, the patch still looks good... thanks again. LOL, you and me both. The good news (and this is praise for the authors/maintainers of Evolution) is that the source is well organized enough that I only had to spend probably 30 minutes narrowing down the code that needed to be modified. I was made quite happy by that. --- Mike -- Michael B. Trausch [EMAIL PROTECTED] home: 404-592-5746, 1 www.trausch.us cell: 678-522-7934 im: [EMAIL PROTECTED], jabber Ubuntu Unofficial Backports Project:http://backports.trausch.us/ -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Removing assignment on bug per sponsorship request process at https://wiki.ubuntu.com/SponsorshipProcess ** Changed in: evolution-data-server (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) = (unassigned) -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
It may also be prudent to reiterate that the changes made remain compliant with MIME Part One, RFC 2045, §5, ¶ 3, which states: The Content-Type header field specifies the nature of the data in the body of an entity by giving media type and subtype identifiers, and by providing auxiliary information that may be required for certain media types. After the media type and subtype names, the remainder of the header field is simply a set of parameters, specified in an attribute=value notation. The ordering of parameters is not significant. Since the only change is the ordering to work around nasty parsers in existing software that breaks this portion of the standard, there _should_ be no additional side effects. To date, I have observed none. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
Here is the proper fix, against EDS. Created a new helper function (_camel_header_param_format_append) to handle the processing of MIME field parameters, and altered the main function (camel_header_param_list_format_append) to use the new helper and defer processing of the name= MIME field until last. This debdiff places the actual patch in debian/patches, and I am submitting the patch to upstream so that it can be included there, as well, so hopefully the local patch will be able to go away soon. ** Attachment added: Here is the proper fix, against EDS. http://launchpadlibrarian.net/12356864/lp194642.debdiff -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
The policy for requesting sponsorship says to mark the bug as confirmed, but that would seem to downgrade the bug's status. Should I do so anyway, before requesting sponsorship? -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
** Changed in: evolution (Ubuntu) Importance: Undecided = Low Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Triaged ** Changed in: evolution-data-server (Ubuntu) Importance: Undecided = Low Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Triaged -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
by the way, Michael. Thanks for helping out. We really appreciate it. -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
rejecting Evolution, since the code change is e-d-s related (on the camel* code, it seems). ** Changed in: evolution (Ubuntu) Status: Triaged = Invalid -- 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 a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
** Changed in: evolution Status: Unknown = 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 desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
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 desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 194642] Re: name parameter for content-type for attachments should be last
** 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 Desktop Bugs, which is subscribed to evolution in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs