Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevents Cross-site scripting
  • Loading branch information
ghormann committed Jun 26, 2021
1 parent 37f3cad commit 244e8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/backup.php
Expand Up @@ -1970,7 +1970,7 @@ function BackupDirectionChanged() {

var activeTabNumber =
<?php
if (isset($_GET['tab']))
if (isset($_GET['tab']) and is_numeric($_GET['tab']))
print $_GET['tab'];
else
print "0";
Expand Down

0 comments on commit 244e8ff

Please sign in to comment.