From 9d88acff4d715cdc6b44c8955049bb0289fb17f7 Mon Sep 17 00:00:00 2001 From: rstular Date: Sat, 16 May 2020 20:08:05 +0200 Subject: GSEC bug fixes - handling commas properly --- js/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/messaging.js') diff --git a/js/messaging.js b/js/messaging.js index 3355297..36e302e 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -1,7 +1,7 @@ const API_ENDPOINT = "https://gimb.tk/test.php"; const DIRECTORY_URL = "/directory.json"; -const ENCRYPTED_MESSAGE_REGEX = /(\S+?)/g; +const ENCRYPTED_MESSAGE_REGEX = /(\S+?)/; // "Global" object for name directory and messages var directory = null; -- cgit v1.2.3