From f5d62f7157a629d8d1611d848be6e4167dd17075 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 5 Jan 2012 09:51:41 +0000 Subject: - Fix bug in handling of base href and inline content (#1488290) --- program/steps/mail/func.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'program/steps') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 3784456c7..f791f7033 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1110,15 +1110,13 @@ function rcmail_resolve_base($body) // check for if (preg_match('!()/Ui', array($replacer, 'callback'), $body); - $body = preg_replace_callback('/(url\s*\()(["\']?)([^"\'\)\s]+)(\2)\)/Ui', array($replacer, 'callback'), $body); + $body = $replacer->replace($body); } return $body; } + /** * modify a HTML message that it can be displayed inside a HTML page */ -- cgit v1.2.3