[Vtigercrm-commits] [vtiger-commits] r10577 - /vtigercrm/branches/5.0.3/modules/Webmails/functions.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 6 04:44:31 EDT 2007
Author: richie
Date: Fri Apr 6 02:44:24 2007
New Revision: 10577
Log:
* Commented the line which cause wrong links when we have URL in the mail body, Fixes #3245
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/functions.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/functions.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/functions.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/functions.php Fri Apr 6 02:44:24 2007
@@ -236,8 +236,8 @@
"'<meta[^>]*>'si"
);
$body = preg_replace($to_removed_array, '', $body);
- //line added to fix #3245
- $body=preg_replace("/(http:\/\/|ftp:\/\/)([^\s,]*)/i","<a href='$1$2'>$1$2</a> target=_blank",$body );
+ //this line is not needed, commented to fix #3245
+ //$body=preg_replace("/(http:\/\/|ftp:\/\/)([^\s,]*)/i","<a href='$1$2'>$1$2</a> target=_blank",$body );
$body = preg_replace("|href=\"(.*)script:|i", 'href="nocc_removed_script:', $body);
$body = preg_replace("|<([^>]*)java|i", '<nocc_removed_java_tag', $body);
$body = preg_replace("|<([^>]*)&{.*}([^>]*)>|i", "<&{;}\\3>", $body);
More information about the vtigercrm-commits
mailing list