From 1e5c96d0bf6f24857505139969edf72e61335a78 Mon Sep 17 00:00:00 2001 From: Git Date: Fri, 23 Sep 2011 08:00:11 +0000 Subject: [PATCH] Empty commit --- sections/forums/thread.php | 2 +- sections/user/user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/forums/thread.php b/sections/forums/thread.php index 226a5cfc..4054b200 100644 --- a/sections/forums/thread.php +++ b/sections/forums/thread.php @@ -337,7 +337,7 @@ // Image proxy CTs if(check_perms('site_proxy_images') && !empty($UserTitle)) { - $UserTitle = preg_replace_callback('~src=("?)(.+?)(["\s>])~', function($Matches) { + $UserTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) { return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; }, $UserTitle); } diff --git a/sections/user/user.php b/sections/user/user.php index 795a35b4..09133296 100644 --- a/sections/user/user.php +++ b/sections/user/user.php @@ -114,7 +114,7 @@ // Image proxy CTs $DisplayCustomTitle = $CustomTitle; if(check_perms('site_proxy_images') && !empty($CustomTitle)) { - $DisplayCustomTitle = preg_replace_callback('~src=("?)(.+?)(["\s>])~', function($Matches) { + $DisplayCustomTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) { return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; }, $CustomTitle); }