From df2188d778cb9bd89ca118c03850ef7f9fc86ce7 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 4 Oct 2010 06:52:12 +0000 Subject: - Fix mailto optional params in plain text messages aren't handled (#1487026) --- program/include/rcube_string_replacer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'program') 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"; } -- cgit v1.2.3