+2004-12-09 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGMime: fixed an issue with future date headers and libFoundation
+ (v4.5.204)
+
2004-12-03 Helge Hess <helge.hess@skyrix.com>
* NGImap4: fixed an error handler in the Sieve client (v4.5.203)
+2004-12-09 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGMimeRFC822DateHeaderFieldParser.m: fix spam mail date header
+ parsing for libFoundation
+
2004-11-13 Helge Hess <helge.hess@opengroupware.org>
* NGConcreteMimeType.m: added support for 'reply-type' parameter in
else if (year >= 0 && year < 70) // Y2K
year += 2000;
+#if LIB_FOUNDATION_LIBRARY
+ if (year > 2030) {
+ NSLog(@"ERROR(%s): got invalid year in date header %d: '%s'",
+ __PRETTY_FUNCTION__, year, buf);
+ year = 2000; /* no choice is good ..., maybe return nil? */
+ }
+#endif
+
/* parse hour */
while (!isdigit(*bytes)) { /* go to first digit */
MAJOR_VERSION:=4
MINOR_VERSION:=5
-SUBMINOR_VERSION:=203
+SUBMINOR_VERSION:=204
# v4.2.149 requires libNGStreams v4.2.34