mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Encode download parameter before use. Fixes #9508
This commit is contained in:
parent
5789a02eab
commit
ce77c104ee
@ -371,7 +371,7 @@ if ($_REQUEST['download']) {
|
||||
$tab_array[1] = array("Restore", $active, "/services_acb.php");
|
||||
|
||||
if ($_REQUEST['download']) {
|
||||
$tab_array[] = array("Revision", true, "/services_acb.php?download={$_REQUEST['download']}");
|
||||
$tab_array[] = array("Revision", true, "/services_acb.php?download=" . htmlspecialchars($_REQUEST['download']));
|
||||
}
|
||||
|
||||
$tab_array[] = array("Backup now", false, "/services_acb_backup.php");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user