summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-04 06:52:12 +0000
committeralecpl <alec@alec.pl>2010-10-04 06:52:12 +0000
commitdf2188d778cb9bd89ca118c03850ef7f9fc86ce7 (patch)
tree6db6c261fec3074c35b504561a2b7f05f2c13cd0 /program
parent928bcaedc0013a7b653647750108a8ab2c37d2a6 (diff)
- Fix mailto optional params in plain text messages aren't handled (#1487026)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_string_replacer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_string_replacer.php b/program/include/rcube_string_replacer.php
index 962ea04fe..1eed1bf3c 100644
--- a/program/include/rcube_string_replacer.php
+++ b/program/include/rcube_string_replacer.php
@@ -42,6 +42,7 @@ class rcube_string_replacer
$this->mailto_pattern = "/("
."[-\w!\#\$%&\'*+~\/^`|{}=]+(?:\.[-\w!\#\$%&\'*+~\/^`|{}=]+)*" // local-part
."@([a-z0-9]([-a-z0-9]*[a-z0-9])?\\.)+[a-z]{2,5}" // domain-part
+ ."(\?\S+)?" // e.g. ?subject=test...
.")/i";
}