From 1bc52de52ab111ec3f6f2b9c88ac6e52b96eef00 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 15 Mar 2005 06:03:11 +0000 Subject: [PATCH] More accurate mailto replacements git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9029 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/url_parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/url_parser.php b/functions/url_parser.php index c9dbcc53..2a6da667 100644 --- a/functions/url_parser.php +++ b/functions/url_parser.php @@ -157,7 +157,7 @@ function parseUrl (&$body) { $mailto_params .= '?' . $to; } } - $url_str = str_replace(array('to=', 'cc=', 'bcc='), array('send_to=', 'send_to_cc=', 'send_to_bcc='), $mailto_params); + $url_str = preg_replace(array('/to=/i', '/(? \ No newline at end of file +?> -- 2.25.1