Browse Source

Update index.php

Capitan Cloud 2 years ago
parent
commit
167757a1cc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      index.php

+ 2 - 1
index.php

@@ -33,7 +33,8 @@
  $BZ_WR_COOKIE_DOMAIN = "bugs.5mode.com";
 
  // SCRIPT_NAME 
- $f = filter_input(INPUT_GET, 'perl_script');
+ $f = filter_input(INPUT_GET, 'perl_script')??"";
+ $f = strip_tags($f);
  if ($f === "" || $f === "/") {
    $f = "/index.cgi";
  }