[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.9/kdewebdev/klinkstatus/src/parser
From:       Paulo Moura Guedes <moura () kdewebdev ! org>
Date:       2013-11-10 20:26:43
Message-ID: E1Vfbal-0000iW-TE () scm ! kde ! org
[Download RAW message or body]

SVN commit 1369356 by mojo:

Backport: 
This fixes a nasty bug where host "www.host.de" would be considered the same as "other.de" 

 M  +1 -1      url.cpp  


--- branches/KDE/4.9/kdewebdev/klinkstatus/src/parser/url.cpp #1369355:1369356
@@ -182,7 +182,7 @@
         return false;
 
     int i = 1;
-    while( ((int)(size1 - i) >= (int)aux) && ((int)(size2 - i) >= (int)aux) )
+    while( ((int)(size1 - i) >= (int)aux) && ((int)(size2 - i) >= (int)aux2) )
     {
         if( !(v1[size1 - i] == v2[size2 - i]) )
             return false;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic