Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3460/src/util

Modified Files:
        matchurl.cpp 
Log Message:
don't check if the hostname has any dots if it URL has explicit schema (maybe fixes 
bug 900)

Index: matchurl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/matchurl.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -b -u -2 -r1.39 -r1.40
--- matchurl.cpp        18 Sep 2004 19:05:06 -0000      1.39
+++ matchurl.cpp        18 Sep 2004 22:44:01 -0000      1.40
@@ -756,5 +756,5 @@
 
    // additional checks for the matches which didn't have an explicit scheme
-   if ( isMail || text[pos + len - 1] != _T(':') )
+   if ( isMail || text[pos + len - 3 /* len of "://" */ ] != _T(':') )
    {
       // '@' matches may result in false positives, as not every '@' character



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to