Summary: | Can't read a cookie from another port | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Michael Maier <info> |
Component: | kcookiejar | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adawit, faure, gassauer |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Maier
2007-09-18 22:27:38 UTC
Hmm, can you make a test server available for me? I don't have the time to set up that stuff, too many other bugs to look at :) *** Bug 151839 has been marked as a duplicate of this bug. *** SVN commit 1180984 by adawit: - Follow the port restriction rules specified in RFC 2965 section 3.3.4. By default cookies are sent to all ports now. See bug# 149991. - Added/modified test cases to test port restriction handling - Replaced harded coded generic TLD (com, net, etc) with a configurable one specified in the domain_info file. Also updated the generic TLDs to the current set. - Made cookiejar more portable by removing system calls: * Replaced the use of fopen with QFile. * Replaced strncmp and strncasecmp with their Qt equivalents, qstrncmp and qstricmp.This also combats crashes since the qt versions of those system calls does not crash when one of the two input parameters is NULL. * Replaced the remaining use of time with KDateTime. This also solves the last possible causes for the so called Y2K38 problem. - Improved performance: * Use QStringBuilder for string concatenation. * Removed the check for the end of an iterator out of the loop statements. - Make sure more specific site policies are honored before generic or global ones. BUG:14991 M +1 -0 domain_info M +289 -269 kcookiejar.cpp M +8 -5 kcookiejar.h M +26 -29 kcookieserver.cpp U kcookiewin.cpp M +3 -3 tests/cookie.test M +16 -0 tests/cookie_rfc.test M +5 -1 tests/cookie_saving.test WebSVN link: http://websvn.kde.org/?view=rev&revision=1180984 |