summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_base_replacer.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-08-14 23:36:55 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-08-14 23:36:55 +0200
commit341fa8b9a6207000d057e00678d96ada6136f783 (patch)
treef8049ade80bf816e6b9d4d843b6e83a8b132e72a /program/lib/Roundcube/rcube_base_replacer.php
parent96c4b9098bec7191c708d4e4f96b80b2768a7ef0 (diff)
parentf4ba655a41bad1d2f833e36dd3fbe7cb2a5582ee (diff)
Merge branch 'release-0.9' of github.com:roundcube/roundcubemail into release-0.9
Diffstat (limited to 'program/lib/Roundcube/rcube_base_replacer.php')
-rw-r--r--program/lib/Roundcube/rcube_base_replacer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_base_replacer.php b/program/lib/Roundcube/rcube_base_replacer.php
index fcd85c2c8..aaaa2028c 100644
--- a/program/lib/Roundcube/rcube_base_replacer.php
+++ b/program/lib/Roundcube/rcube_base_replacer.php
@@ -44,8 +44,8 @@ class rcube_base_replacer
public function replace($body)
{
return preg_replace_callback(array(
- '/(src|background|href)=(["\']?)([^"\'\s]+)(\2|\s|>)/Ui',
- '/(url\s*\()(["\']?)([^"\'\)\s]+)(\2)\)/Ui',
+ '/(src|background|href)=(["\']?)([^"\'\s>]+)(\2|\s|>)/i',
+ '/(url\s*\()(["\']?)([^"\'\)\s]+)(\2)\)/i',
),
array($this, 'callback'), $body);
}