mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Prevent cross site scripting by limiting the value of $show on the registrations page.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user