[darcs-devel] [issue26] Darcs needs real MIME parsing, fails with Mail.app, Courier
Mark Stosberg
bugs at darcs.net
Tue Jan 22 14:59:28 UTC 2008
David Roundy wrote:
>
> On Sat, Jan 19, 2008 at 02:21:36AM -0000, Mark Stosberg wrote:
>> My co-worker uses Mail.app and can't detach darcs patches, so my team is
>> directly affected by this.
>
> This sounds like it's an issue of darcs generating correct MIME emails,
> rather than parsing them correctly? Or is it that when he attaches the
> darcs patches manually to his email, the resulting email can't be parsed by
> darcs?
My understanding is that the patches generated are valid MIME.... it is
the parser on the receiving end that is naive:
- It expects the boundary to be a particular thing, but it could be
rewritten, as Courier does.
- Darcs also assumes the Content-Description header exists and
is the last one. Tommy says a simple fix could be to look for the
Content-Type header line and search for a blank line from
there. (But real MIME parsing would be better).
Also, it seems the final dot might be getting mangled. (which might be a
considered a Mail.app bug, but would be nice to be robust against).
This prior message has a good summary:
http://bugs.darcs.net/msg200
Mark
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue26>
__________________________________
More information about the darcs-devel
mailing list