This commit is contained in:
2023-03-22 13:26:26 +01:00
parent 13d51c05d8
commit 7920f097e4

View File

@@ -281,6 +281,8 @@ async function fetchUUIDCheck(givenUUID , strategy){
function checkUUIDChars(uuid) {
uuid.replace(/ /g,'')
if (uuid.length > 128)
return "invalid";
console.log("UUID in check: " + uuid);
const regex = new RegExp("^[A-z0-9-]+$");