[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] mbox date fail



Reformatted excerpts from Mike Kelly's message of 2009-10-23:
> Is there much of anything that I can do to mitigate this problem,
> aside from manually altering every offending message?

I've fixed this in master. Can you try again, please?

> It seems like the messages' Content-Length header should be used to
> skip past the body and ignore the offending Froms?

This is an option, but I'm avoiding it, because Content-Length is not
guaranteed to be there, and not guaranteed to be correct.

> Or, at least, if that sort of
> ArgumentError is thrown, maybe it should be caught and handled better?

Yep, that's what I've done. I couldn't get my local system to throw
ArgumentError, even with your example, but if it's possible, it's
possible, and should be caught.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk