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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/libkdepim
From:       Allen Winter <winter () kde ! org>
Date:       2006-11-01 15:32:48
Message-ID: 1162395168.876532.13908.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 600981 by winterz:

merge SVN commit 600917 by marten:

Correctly detect a URL that ends with '-' or '_'

CCBUGS: 81281



 M  +2 -2      linklocator.cpp  


--- branches/KDE/3.5/kdepim/libkdepim/linklocator.cpp #600980:600981
@@ -96,8 +96,8 @@
     {
       ++mPos;
     }
-    /* some URLs really end with:  # / &     */
-    const QString allowedSpecialChars = QString("#/&");
+    /* some URLs really end with:  # / & - _    */
+    const QString allowedSpecialChars = QString("#/&-_");
     while(mPos > start && mText[mPos-1].isPunct() &&
 		    allowedSpecialChars.find(mText[mPos-1]) == -1 )
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

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