[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] [PATCH] Fix problem with time parsing
Reformatted excerpts from Hamish's message of 2011-05-02:
> If a message has a date with month first and day second, then if the
> day is greater than 12, heliotrope crashes. This patch catches the
> error, and tries again after swapping the day and month.
Is this a legitimate email message? Producing rfc2822-compliant date
headers is one of the few things that everyone seems capable of doing
besides spambots. I'm tempted to take the Sup approach of forging a date
header, or giving up on the email, if it's unparseable.
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel