[Knode-devel] [Bug 84982] Host part of news://host.name.tld/ URL is handled case sensitive

Roberto Teixeira maragato at kde.org
Thu Jul 22 20:05:08 CEST 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=84982      
maragato kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From maragato kde org  2004-07-22 20:05 -------
CVS commit by maragato: 

Ignore case when comparing hostnames.

CCMAIL: 84982-done bugs kde org


  M +1 -1      knmainwidget.cpp   1.44


--- kdepim/knode/knmainwidget.cpp  #1.43:1.44
 @ -476,5 +476,5  @ void KNMainWidget::openURL(const KURL &u
     // lets see if we already have an account for this host...
     for(acc=a_ccManager->first(); acc; acc=a_ccManager->next())
-      if( acc->server()==host && (port==0 || acc->port()==port) )
+      if( acc->server().lower()==host.lower() && (port==0 || acc->port()==port) )
         break;


More information about the Knode-devel mailing list