[Svn] r5198 - in trunk/roundcubemail: . program/include

trac at roundcube.net trac at roundcube.net
Sat Sep 10 08:49:51 CEST 2011


Author: alec
Date: 2011-09-10 01:49:51 -0500 (Sat, 10 Sep 2011)
New Revision: 5198

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/include/rcube_string_replacer.php
Log:
- Fix handling of links with IP address




Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2011-09-09 18:47:46 UTC (rev 5197)
+++ trunk/roundcubemail/CHANGELOG	2011-09-10 06:49:51 UTC (rev 5198)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix handling of links with IP address
 - Fix compacting folder resets message list filter (#1488076)
 - Fix displaying multipart/alternative messages with only one part (#1487938)
 - Rewritten messages caching:

Modified: trunk/roundcubemail/program/include/rcube_string_replacer.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_string_replacer.php	2011-09-09 18:47:46 UTC (rev 5197)
+++ trunk/roundcubemail/program/include/rcube_string_replacer.php	2011-09-10 06:49:51 UTC (rev 5198)
@@ -37,7 +37,7 @@
   {
     // Simplified domain expression for UTF8 characters handling
     // Support unicode/punycode in top-level domain part
-    $utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.([^\\x00-\\x40\\x5b-\\x60\\x7b-\\x7f]{2,}|xn--[a-z0-9]{2,})';
+    $utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.([^\\x00-\\x2f\\x3b-\\x40\\x5b-\\x60\\x7b-\\x7f]{2,}|xn--[a-z0-9]{2,})';
     $url1 = '.:;,';
     $url2 = 'a-z0-9%=#@+?&\\/_~\\[\\]-';
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list