Prevent cross site scripting by limiting the value of $show on the registrations page.

This commit is contained in:
Mark Crane
2015-04-25 05:47:35 +00:00
parent cbd974a89e
commit 04bb28752a

View File

@@ -41,9 +41,10 @@ require_once "resources/check_auth.php";
$language = new text;
$text = $language->get();
//request profile
//get the HTTP values asn set as variables
$sip_profile_name = trim($_REQUEST["profile"]);
$show = trim($_REQUEST["show"]);
if ($show != "all") { $show = ''; }
//define variables
$c = 0;