Better compatibility with non-latin data input in agent screen and main admin web pages
Translation bug fixed in list merge script, Issue #1236 git-svn-id: svn://192.168.202.10@3327 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
# call_log_display.php version 2.14
|
||||
#
|
||||
# Copyright (C) 2019 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
# Copyright (C) 2020 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
#
|
||||
# This script is designed purely to send the inbound and outbound calls for a specific phone
|
||||
# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
|
||||
@@ -40,10 +40,11 @@
|
||||
# 150723-1714 - Added ajax logging
|
||||
# 170526-2215 - Added additional variable filtering
|
||||
# 190111-0904 - Fix for PHP7
|
||||
# 201117-2200 - Changes for better compatibility with non-latin data input
|
||||
#
|
||||
|
||||
$version = '2.14-20';
|
||||
$build = '190111-0904';
|
||||
$version = '2.14-21';
|
||||
$build = '201117-2200';
|
||||
$php_script = 'call_log_display.php';
|
||||
$SSagent_debug_logging=0;
|
||||
$startMS = microtime();
|
||||
@@ -73,6 +74,8 @@ $session_name = preg_replace("/\'|\"|\\\\|;/","",$session_name);
|
||||
$server_ip = preg_replace("/\'|\"|\\\\|;/","",$server_ip);
|
||||
$exten = preg_replace("/\||`|&|\'|\"|\\\\|;| /","",$exten);
|
||||
$protocol = preg_replace("/\||`|&|\'|\"|\\\\|;| /","",$protocol);
|
||||
$in_limit = preg_replace('/[^0-9]/','',$in_limit);
|
||||
$out_limit = preg_replace('/[^0-9]/','',$out_limit);
|
||||
|
||||
# default optional vars if not set
|
||||
if (!isset($format)) {$format="text";}
|
||||
|
||||
Reference in New Issue
Block a user