Skip to content

Commit 167757a

Browse files
authored
Update index.php
1 parent c04fda7 commit 167757a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
$BZ_WR_COOKIE_DOMAIN = "bugs.5mode.com";
3434

3535
// SCRIPT_NAME
36-
$f = filter_input(INPUT_GET, 'perl_script');
36+
$f = filter_input(INPUT_GET, 'perl_script')??"";
37+
$f = strip_tags($f);
3738
if ($f === "" || $f === "/") {
3839
$f = "/index.cgi";
3940
}

0 commit comments

Comments
 (0)