Active Queues: Adjust regex in preg_replace on fifo_name.

This commit is contained in:
Nate
2019-09-16 07:08:52 -06:00
parent 687cc38f97
commit 22faf0a17c

View File

@@ -44,7 +44,7 @@
//set variables
$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 (!if_group("superadmin")) {