Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
Advisory fix 1
  • Loading branch information
tltneon authored Dec 30, 2024
2 parents a2755d3 + 709df81 commit 7ecb839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsl_files/lgsl_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -142,4 +142,4 @@
$output .= "<div style='text-align:center; font-family:tahoma; font-size:9px; padding: 33px 0 11px 0;'><a href='https://github.com/tltneon/lgsl' style='text-decoration:none'>".lgsl_version()."</a></div>";
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
if ($lgsl_config['preloader'])
echo $output;
echo $output;

0 comments on commit 7ecb839

Please sign in to comment.