From 0265c416122a0d69e1ebf43fdbdada85f8774b85 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 24 Jul 2025 22:13:19 +1000 Subject: [PATCH] partial rollback #1119 --- front/userNotifications.php | 4 ++- server/scan/device_handling.py | 62 ++++++++++++---------------------- 2 files changed, 25 insertions(+), 41 deletions(-) diff --git a/front/userNotifications.php b/front/userNotifications.php index c53b9d9d..17c8a548 100755 --- a/front/userNotifications.php +++ b/front/userNotifications.php @@ -117,7 +117,8 @@ require 'php/templates/header.php'; var guid = data.split(":")[1].trim(); return `Go to Report`; } else { - return data; + // clear quotes (") if wrapped in them + return (data.startsWith('"') && data.endsWith('"')) ? data.slice(1, -1) : data; } } }, @@ -208,6 +209,7 @@ require 'php/templates/header.php'; }); +