From 83ed3602fa80881fa626c0877a6eff1ec9b29e23 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 1 May 2015 08:17:39 +0000 Subject: [PATCH] Test if the id is a uuid if it is then set fax_uuid value. --- app/fax/fax_box.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/fax/fax_box.php b/app/fax/fax_box.php index ef1a33f033..aa2e463823 100644 --- a/app/fax/fax_box.php +++ b/app/fax/fax_box.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-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2015 the Initial Developer. All Rights Reserved. Contributor(s): @@ -46,7 +46,9 @@ else { //get fax extension if (strlen($_GET['id']) > 0) { - $fax_uuid = check_str($_GET["id"]); + if (is_uuid($_GET["id"])) { + $fax_uuid = $_GET["id"]; + } if (if_group("superadmin") || if_group("admin")) { //show all fax extensions $sql = "select * from v_fax ";