From 39bb9fe537d6fa3f2aaf568743e936e4dc4c9007 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 23 Feb 2018 16:52:21 +0000 Subject: [PATCH] Fix for rare webform VAR url issue in vicidial.php git-svn-id: svn://192.168.202.10@2928 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vicidial.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 6fc13272..bccef520 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -582,10 +582,11 @@ # 180215-1105 - Changes for CID Groups functionality # 180216-1349 - Fix for callback alt dial isssue #1066 # 180217-0915 - Added pause_max_dispo, fix for issue #1030 +# 180223-1150 - Fix for rare webform VAR url issue # -$version = '2.14-552c'; -$build = '180217-0915'; +$version = '2.14-553c'; +$build = '180223-1150'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=87; $one_mysql_log=0; @@ -15525,6 +15526,9 @@ else encoded = encoded.replace(RGweb_vars, SCweb_vars); } + var regWFAencode = new RegExp("^VAR","ig"); + encoded = encoded.replace(regWFAencode, ''); + decoded=encoded; // simple no ? decoded = decoded.replace(RGnl, '+'); decoded = decoded.replace(RGplus,'+');