From d94ea073ed8f62b62f3cbe19ad490101f312ef87 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Fri, 28 May 2021 05:42:08 +0000 Subject: [PATCH] Convert special characters to HTML entities in overboard.php --- Rocksolid_Light/rocksolid/overboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/rocksolid/overboard.php b/Rocksolid_Light/rocksolid/overboard.php index ee4ec47..233d6d6 100755 --- a/Rocksolid_Light/rocksolid/overboard.php +++ b/Rocksolid_Light/rocksolid/overboard.php @@ -305,7 +305,7 @@ foreach($files as $article) { } else { $mysnippet = substr($mysnippet, 0, $snippetlength); } - echo "

".$mysnippet."

\r\n"; + echo "

".htmlspecialchars($mysnippet, ENT_QUOTES)."

\r\n"; echo ''; if($results++ > ($maxdisplay - 2)) break;