Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv31961/src/util

Modified Files:
        matchurl.cpp 
Log Message:
; and [] can be a part of URL, example - 
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodw


Index: matchurl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/matchurl.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- matchurl.cpp        13 Mar 2003 20:26:01 -0000      1.23
+++ matchurl.cpp        9 Sep 2003 22:17:07 -0000       1.24
@@ -437,5 +437,6 @@
 inline bool IsURLChar(char c)
 {
-   return IsAlnum(c) || IsURLMark(c) || IsURLReserved(c) || c == '%' || c == '#';
+   return IsAlnum(c) || IsURLMark(c) || IsURLReserved(c) || c == '%' || c == '#' ||
+          c == '[' || c == ']';
 }
 
@@ -741,5 +742,5 @@
 
    // truncate any punctuation at the end
-   while ( strchr(".:,;)!?", *(p - 1)) )
+   while ( strchr(".:,)!?", *(p - 1)) )
       p--;
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to