From 4857ee20ba12eea7f8e80f7b3b743591caa33263 Mon Sep 17 00:00:00 2001 From: AlexanderDCrane <40072887+AlexanderDCrane@users.noreply.github.com> Date: Fri, 31 Aug 2018 12:50:19 -0600 Subject: [PATCH] Update call_block_edit.php (#3374) --- app/call_block/call_block_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_block/call_block_edit.php b/app/call_block/call_block_edit.php index fc61137220..85a4015667 100644 --- a/app/call_block/call_block_edit.php +++ b/app/call_block/call_block_edit.php @@ -370,7 +370,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { if ($result_count > 0) { foreach($result as $row) { - $tr_onclick = " onclick=\"call_block_recent('".$row['uuid']."','".urlencode($row['caller_id_name'])."');\" "; + $tr_onclick = " onclick=\"call_block_recent('".escape($row['uuid'])."','".urlencode(escape($row['caller_id_name']))."');\" "; if (strlen($row['caller_id_number']) >= 7) { if (defined('TIME_24HR') && TIME_24HR == 1) { $tmp_start_epoch = date("j M Y H:i:s", $row['start_epoch']);