From c0ffae3f8f6f17b99f8deb528c3d92f87ed29a2d Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 18 May 2020 12:30:49 +0000 Subject: [PATCH] Fixed issue with Carrier custom dialplan allowing comments ';' in admin.php git-svn-id: svn://192.168.202.10@3248 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/admin.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 1fd58a83..80745569 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -3797,7 +3797,8 @@ if ($non_latin < 1) $account_entry = preg_replace('/;/','',$account_entry); $account_entry = preg_replace('/\r/', '',$account_entry); $globals_string = preg_replace('/;/','',$globals_string); - $dialplan_entry = preg_replace('/;/','',$dialplan_entry); + $dialplan_entry = preg_replace('/\\\\/', '',$dialplan_entry); + $dialplan_entry = preg_replace('/\'/', '',$dialplan_entry); $dialplan_entry = preg_replace('/\r/', '',$dialplan_entry); $custom_dialplan_entry = preg_replace('/\\\\/', '',$custom_dialplan_entry); $custom_dialplan_entry = preg_replace('/\'/', '',$custom_dialplan_entry); @@ -4662,12 +4663,13 @@ else # 200409-1719 - Reorganized Inbound admin section # 200425-0949 - Added 2nd option for agentcall_manual to disable FAST DIAL # 200508-1024 - Added feature to Call Menus to allow copying of previous option +# 200518-0828 - Fixed issue with Carrier custom dialplan allowing comments';' # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.14-752a'; -$build = '200508-1024'; +$admin_version = '2.14-753a'; +$build = '200518-0828'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s");