diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-06-27 09:30:01 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-06-27 09:30:01 +0000 |
| commit | b23cc0a4df4300d213155ab4d646c730722c42da (patch) | |
| tree | 554bff88812f337021de674fbd06f03f491d513d /roundcubemail/program | |
| parent | 3e85c91870a95414403ceb94eca7826a2be56379 (diff) | |
- Fix parsing URLs containing commas (#1487970)
git-svn-id: https://svn.roundcube.net/trunk@4881 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_string_replacer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_string_replacer.php b/roundcubemail/program/include/rcube_string_replacer.php index 3c09326b2..5ce986fcb 100644 --- a/roundcubemail/program/include/rcube_string_replacer.php +++ b/roundcubemail/program/include/rcube_string_replacer.php @@ -38,7 +38,7 @@ class rcube_string_replacer // 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,})'; - $url1 = '.:;'; + $url1 = '.:;,'; $url2 = 'a-z0-9%=#@+?&\\/_~\\[\\]-'; $this->link_pattern = "/([\w]+:\/\/|\Wwww\.)($utf_domain([$url1]?[$url2]+)*)/i"; |
