mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Active Queues: Adjust regex in preg_replace on fifo_name.
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
//set variables
|
//set variables
|
||||||
$fifo_name = trim($_REQUEST["c"]);
|
$fifo_name = trim($_REQUEST["c"]);
|
||||||
$fifo_name = preg_replace('#[^a-zA-Z0-9\-./]#', '', $fifo_name);
|
$fifo_name = preg_replace('[^a-zA-Z0-9\-_@.\/]', '', $fifo_name);
|
||||||
|
|
||||||
//if not the user is not a member of the superadmin then restrict to viewing their own domain
|
//if not the user is not a member of the superadmin then restrict to viewing their own domain
|
||||||
if (!if_group("superadmin")) {
|
if (!if_group("superadmin")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user