added ( and ) to end markers of html parsing, fixed folder subscribing on UW
[squirrelmail.git] / functions / url_parser.php
index 1b4c65eada0c7b4f59cd88197ad89bf57a6f158f..fb47657ec2e6e818eb39c4d7d52567a0653302ee 100644 (file)
@@ -18,7 +18,7 @@
    function parseUrl ($body) {
       #Possible ways a URL could finish.
 
-      $poss_ends=array(" ","\n","\r",">",".&nbsp","&nbsp");
+      $poss_ends=array(" ","\n","\r","<",">",".&nbsp","&nbsp",")","(");
       $done=False;
       while (!$done) {
          #Look for when a URL starts