diff --git a/app/dialplans/dialplan_edit.php b/app/dialplans/dialplan_edit.php index 5e7437ec76..7afc3451be 100644 --- a/app/dialplans/dialplan_edit.php +++ b/app/dialplans/dialplan_edit.php @@ -206,7 +206,7 @@ else if ($action == "update") { messages::add($text['message-update']); } - header("Location: ?id=".$dialplan_uuid.(($app_uuid != '') ? "&app_uuid=".$app_uuid : null)); + header("Location: ?id=".escape($dialplan_uuid).(($app_uuid != '') ? "&app_uuid=".escape($app_uuid) : null)); exit; } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) @@ -364,7 +364,7 @@ //show the content echo "