Open JoeBussard opened 1 year ago
I found a regex for checking UUIDs. Currently I verify that user-provided UUIDs, e.g., in /v1/get/<uuid> are valid by slicing off everything after the 40th character. I can use regexes (regexi?) to validate UUIDs instead.
/v1/get/<uuid>
I found a regex for checking UUIDs. Currently I verify that user-provided UUIDs, e.g., in
/v1/get/<uuid>
are valid by slicing off everything after the 40th character. I can use regexes (regexi?) to validate UUIDs instead.