Ridded of XSS flaw
This commit is contained in:
parent
167012a2f6
commit
0e42f22c9e
|
@ -4,8 +4,8 @@ include("../../resources/library/main.php");
|
||||||
|
|
||||||
$item = strtolower($GLOBALS["file_beam_item"]);
|
$item = strtolower($GLOBALS["file_beam_item"]);
|
||||||
|
|
||||||
$filename = $_GET["success"];
|
$filename = sanitize_filename($_GET["success"]);
|
||||||
$error = $_GET["error"];
|
$error = sanitize_filename($_GET["error"]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ include("../../resources/library/main.php");
|
||||||
|
|
||||||
$item = strtolower($GLOBALS["url_aliasize_item"]);
|
$item = strtolower($GLOBALS["url_aliasize_item"]);
|
||||||
|
|
||||||
$filename = $_GET["success"];
|
$filename = sanitize_filename($_GET["success"]);
|
||||||
$error = $_GET["error"];
|
$error = sanitize_filename($_GET["error"]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue