From 1cdf6cbf55237d57d9e652d4e6134decf59a6e5d Mon Sep 17 00:00:00 2001 From: cypherbits Date: Sat, 2 May 2020 17:25:09 +0200 Subject: [PATCH] add chat link privacy with noreferrer and noopener --- chat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat.php b/chat.php index c438f42..bb0fc59 100644 --- a/chat.php +++ b/chat.php @@ -3030,9 +3030,9 @@ function create_hotlinks($message){ $message=preg_replace_callback('/<<([^<>]+)>>/u', function ($matches){ if(strpos($matches[1], '://')===false){ - return "$matches[1]"; + return "$matches[1]"; }else{ - return "$matches[1]"; + return "$matches[1]"; } } , $message);