mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Sanitize the domain setting category
This commit is contained in:
@@ -88,6 +88,11 @@
|
||||
$domain_setting_description = $_POST["domain_setting_description"];
|
||||
}
|
||||
|
||||
//sanitize the variables
|
||||
if (!empty($domain_setting_category)) {
|
||||
$domain_setting_category = preg_replace('#[^a-zA-Z0-9_\-\. ]#', '', $domain_setting_category);
|
||||
}
|
||||
|
||||
//process the data
|
||||
if (!empty($_POST) && empty($_POST["persistformvar"])) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user