Summary: | Subtle API change in date parsing breaks some cookie expiration cases and ??? | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | sts |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | edg72, kde, rob.opensuse.linux |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
sts
2007-11-17 19:40:45 UTC
We're somehow losing cookies set on redirected chunked message -again-. Allan, any chance you could take a look? Actually, it's probably in the cookie jar and not kio-http this time, I think. Yikes. The reason for this problem is that when parsing fails using KDateTime and one calls to toTime_t it returns -1. The old KRFCDate returned 0. This case is easy to fix, but there are dozens of other instances of the same thing. *** Bug 152861 has been marked as a duplicate of this bug. *** *** Bug 152957 has been marked as a duplicate of this bug. *** SVN commit 742290 by orlovich: Adjust this to an API incompatibility between KRFCDate and KDateTime. This fixes parsing cookies on many websites (such as the bugs.kde.org's wizard's login!). Still, many other spots need similar adjustment CCBUG:152481 M +5 -2 kcookiejar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=742290 works for me.. |