From: pdontthink Date: Tue, 15 Mar 2005 06:03:11 +0000 (+0000) Subject: More accurate mailto replacements X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1bc52de52ab111ec3f6f2b9c88ac6e52b96eef00;p=squirrelmail.git More accurate mailto replacements git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9029 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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 +?>