diff --git a/lgsl_files/lgsl_list.php b/lgsl_files/lgsl_list.php index dea1d8b..c80ad19 100644 --- a/lgsl_files/lgsl_list.php +++ b/lgsl_files/lgsl_list.php @@ -20,7 +20,7 @@ $uri = $_SERVER['REQUEST_URI']; if ($lgsl_config['preloader']) { - $uri = $_SERVER['HTTP_REFERER']; + $uri = htmlspecialchars($_SERVER['HTTP_REFERER'], ENT_QUOTES, 'UTF-8'); } $server_list = lgsl_query_group(array("type" => $type, "game" => $game, "page" => $page)); @@ -142,4 +142,4 @@ $output .= "
".lgsl_version()."
"; //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ if ($lgsl_config['preloader']) - echo $output; \ No newline at end of file + echo $output;