Added length limit for data in UUID field (#127)
Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #127
This commit is contained in:
		| @@ -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-]+$"); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user