diff --git a/app/devices/device_profile_edit.php b/app/devices/device_profile_edit.php index 063ed04790..fb33311897 100644 --- a/app/devices/device_profile_edit.php +++ b/app/devices/device_profile_edit.php @@ -265,6 +265,11 @@ $device_profile_settings[$x]['profile_setting_enabled'] = ''; $device_profile_settings[$x]['profile_setting_description'] = ''; +//filter the uuid + if (!is_uuid($device_profile_uuid)) { + $device_profile_uuid = null; + } + //show the header require_once "resources/header.php"; @@ -276,7 +281,7 @@ echo "