From 0bf680e02e190cd07cd43358d808d536c058ac46 Mon Sep 17 00:00:00 2001 From: AlexanderDCrane <40072887+AlexanderDCrane@users.noreply.github.com> Date: Sat, 9 Jun 2018 12:05:36 -0600 Subject: [PATCH] Escape user data on voicemail_edit.php (#3108) --- app/voicemails/voicemail_edit.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/voicemails/voicemail_edit.php b/app/voicemails/voicemail_edit.php index 8c9ebaefdb..02d58ad2ac 100644 --- a/app/voicemails/voicemail_edit.php +++ b/app/voicemails/voicemail_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-2016 + Portions created by the Initial Developer are Copyright (C) 2008-2018 the Initial Developer. All Rights Reserved. Contributor(s): @@ -391,7 +391,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_id']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-voicemail_id']."\n"; echo "\n"; @@ -402,7 +402,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_password']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-voicemail_password']."\n"; echo "\n"; @@ -446,7 +446,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_alternate_greet_id']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo " ".$text['description-voicemail_alternate_greet_id']."\n"; echo "\n"; @@ -557,7 +557,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_mail_to']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-voicemail_mail_to']."\n"; echo "\n"; @@ -568,7 +568,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_sms_to']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-voicemail_sms_to']."\n"; echo "\n"; @@ -651,7 +651,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo " ".$field['voicemail_id']."\n"; echo " \n"; - echo " $v_link_label_delete\n"; + echo " ".escape($v_link_label_delete)."\n"; echo " \n"; echo " \n"; $voicemail_uuid_copied[] = $field['voicemail_uuid_copy']; @@ -725,7 +725,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-voicemail_description']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-voicemail_description']."\n"; echo "\n"; @@ -733,7 +733,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo " \n"; if ($action == "update") { - echo " \n"; + echo " \n"; } $http_referer = parse_url($_SERVER["HTTP_REFERER"]); echo " \n";