From 6462c83f69969e1b3a945292a4a9e8df7e730936 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 1 Feb 2019 15:47:51 +0100 Subject: Prevent Hubzilla usage for SEO backlinks --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 7d253e3d7..b6a1004c2 100644 --- a/include/text.php +++ b/include/text.php @@ -1093,7 +1093,7 @@ function searchbox($s,$id='search-box',$url='/search',$save = false) { * @return string */ function linkify($s, $me = false) { - $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\pL\:\/\-\?\&\;\.\=\_\@\~\#\'\%\$\!\+\,\@]*)/u", (($me) ? ' $1' : ' $1'), $s); + $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\pL\:\/\-\?\&\;\.\=\_\@\~\#\'\%\$\!\+\,\@]*)/u", (($me) ? ' $1' : ' $1'), $s); $s = preg_replace("/\<(.*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$s); return($s); -- cgit v1.2.3