diff --git a/app/fax/fax.php b/app/fax/fax.php index 53308f0ff3..29cb96e456 100644 --- a/app/fax/fax.php +++ b/app/fax/fax.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-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): @@ -121,11 +121,11 @@ $fax_email = str_replace("\\", "", $row['fax_email']); $fax_email = substr($fax_email, 0, 50); //show the fax extensions - $tr_link = (permission_exists('fax_extension_edit')) ? "href='fax_edit.php?id=".escape($row['fax_uuid'])."'" : null; + $tr_link = (permission_exists('fax_extension_edit')) ? "href='fax_edit.php?id=".urlencode($row['fax_uuid'])."'" : null; echo "\n"; echo " "; if (permission_exists('fax_extension_edit')) { - echo "".escape($row['fax_name']).""; + echo "".escape($row['fax_name']).""; } else { echo escape($row['fax_name']); @@ -135,7 +135,7 @@ echo " ".escape($fax_email)." \n"; echo " "; if (permission_exists('fax_send')) { - echo " ".$text['label-new']."  "; + echo " ".$text['label-new']."  "; } if (permission_exists('fax_inbox_view')) { if ($row['fax_email_inbound_subject_tag'] != '') { @@ -146,25 +146,26 @@ $file = "fax_files.php"; $box = 'inbox'; } - echo " ".$text['label-inbox']."  "; + echo " ".$text['label-inbox']."  "; } if (permission_exists('fax_sent_view')) { - echo " ".$text['label-sent']."  "; + echo " ".$text['label-sent']."  "; } if (permission_exists('fax_log_view')) { - echo " ".$text['label-log'].""; + //echo " ".$text['label-log'].""; + echo " ".$text['label-log'].""; } if (permission_exists('fax_active_view') && isset($_SESSION['fax']['send_mode']['text']) && $_SESSION['fax']['send_mode']['text'] == 'queue') { - echo " ".$text['label-active'].""; + echo " ".$text['label-active'].""; } echo " \n"; - echo " ".escape($row['fax_description'])." \n"; + echo " ".urlencode($row['fax_description'])." \n"; echo " "; if (permission_exists('fax_extension_edit')) { - echo "$v_link_label_edit"; + echo "$v_link_label_edit"; } if (permission_exists('fax_extension_delete')) { - echo "$v_link_label_delete"; + echo "$v_link_label_delete"; } echo " \n"; echo "\n";