[Konsole-devel] [Bug 14991] no -ls in session restauration

Dawit Alemayehu adawit at kde.org
Wed Sep 29 16:42:30 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=14991


Dawit Alemayehu <adawit at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |RESOLVED




--- Comment #2 from Dawit Alemayehu <adawit kde org>  2010-09-29 18:42:28 ---
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list