summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_string_replacer.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-04 06:52:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-04 06:52:12 +0000
commita20bbfe2cd08dd2ec0b9f640693e5eca0342874f (patch)
treec299446c7f299327442305fb5f29fc7ddbe12aa2 /roundcubemail/program/include/rcube_string_replacer.php
parent9abbfd09914f352505ec1739998e6c9281d4a050 (diff)
- Fix mailto optional params in plain text messages aren't handled (#1487026)
git-svn-id: https://svn.roundcube.net/trunk@4029 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_string_replacer.php')
-rw-r--r--roundcubemail/program/include/rcube_string_replacer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_string_replacer.php b/roundcubemail/program/include/rcube_string_replacer.php
index 962ea04fe..1eed1bf3c 100644
--- a/roundcubemail/program/include/rcube_string_replacer.php
+++ b/roundcubemail/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";
}