-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
A uuid with characters outside the hexadecimal characters is wrongly validated.
Example: a462cc9d-4322-4c96-a195-f8e1b00881fg
iex(1)> Vex.Validators.Uuid.validate("a462cc9d-4322-4c96-a195-f8e1b00881fg", format: :default)
:ok
iex(2)> UUID.info("a462cc9d-4322-4c96-a195-f8e1b00881fg")
{:error,
"Invalid argument; Not a valid UUID: a462cc9d-4322-4c96-a195-f8e1b00881fg"}
Metadata
Metadata
Assignees
Labels
No labels