diff options
author | alecpl <alec@alec.pl> | 2011-11-09 10:03:54 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-11-09 10:03:54 +0000 |
commit | 51f7a5b2a09777d3a279757af620e42985ff9a86 (patch) | |
tree | 1b4700d4e4f3e5277dcb9877118acc1ee9098b74 /program/include/rcube_string_replacer.php | |
parent | 69cb80b0594add4d18f8de6b5c676f1dc4d0a835 (diff) |
- Apply fixes from trunk up to r5401
Diffstat (limited to 'program/include/rcube_string_replacer.php')
-rw-r--r-- | program/include/rcube_string_replacer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_string_replacer.php b/program/include/rcube_string_replacer.php index 5d743bfff..8997ca342 100644 --- a/program/include/rcube_string_replacer.php +++ b/program/include/rcube_string_replacer.php @@ -39,7 +39,7 @@ class rcube_string_replacer // Support unicode/punycode in top-level domain part $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%=#@+?&\\/_~\\[\\]-'; + $url2 = 'a-z0-9%=#@+?&\\/_~\\[\\]{}-'; $this->link_pattern = "/([\w]+:\/\/|\Wwww\.)($utf_domain([$url1]?[$url2]+)*)/i"; $this->mailto_pattern = "/(" |