Added length limit for data in UUID field #127

Merged
bema merged 1 commits from bema/fix/#122 into master 2023-03-22 13:27:51 +01:00

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-]+$");