From 1ea9cdb696092e70b28f56a0989a2c45918e1279 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 23 Sep 2017 17:50:46 -0600 Subject: [PATCH] Update call_edit.php Prevent XSS. --- app/calls/call_edit.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 8f16731439..d60120e1c2 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2015 + Portions created by the Initial Developer are Copyright (C) 2008-2017 the Initial Developer. All Rights Reserved. Contributor(s): @@ -436,7 +436,7 @@ echo "\n"; echo "\n"; echo "\n"; - echo " ".$text['description']." ".$extension."

\n"; + echo " ".$text['description']." ".escape($extension)."

\n"; echo "\n"; echo "\n"; @@ -453,7 +453,7 @@ echo " \n"; unset($on_click); echo "   "; - echo " \n"; + echo " \n"; echo "
".$text['description-call_forward']."\n"; echo "\n"; echo "\n"; @@ -469,7 +469,7 @@ echo " \n"; unset($on_click); echo "   "; - echo " \n"; + echo " \n"; echo "
".$text['description-on-busy']."\n"; echo "\n"; echo "\n"; @@ -485,7 +485,7 @@ echo " \n"; unset($on_click); echo "   "; - echo " \n"; + echo " \n"; echo "
".$text['description-no_answer']."\n"; echo "\n"; echo "\n"; @@ -500,7 +500,7 @@ echo " \n"; unset($on_click); echo "   "; - echo " \n"; + echo " \n"; echo "
".$text['description-not_registered']."\n"; echo "\n"; echo "\n"; @@ -581,7 +581,7 @@ for ($n = 0; $n <= ((($_SESSION['follow_me']['max_destinations']['numeric'] != '') ? $_SESSION['follow_me']['max_destinations']['numeric'] : 5) - 1); $n++) { echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; destination_select('destinations['.$n.'][delay]', $destinations[$n]['delay'], '0'); echo " \n"; @@ -713,4 +713,5 @@ //include the footer require_once "resources/footer.php"; + ?>