Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept API requests with lowercase GUID Keys #834

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Conversation

yvo-niedrich
Copy link
Contributor

As per definition UUIDs are case-insensitive. Yet the Key Pipe verifies UUID values not in their byte representation, but in their case-sensitive string representation.

The Primitive::matches helper method can be handy to address similar quirks with other types.

As per definition UUIDs are case-insensitive. Yet the `Key` Pipe verifies UUID values not in their byte representation, but in their case-sensitive string representation
@yvo-niedrich yvo-niedrich changed the title Accept HTTP Requests with lowercase GUID Keys Accept API requests with lowercase GUID Keys Jul 12, 2024
@27pchrisl 27pchrisl merged commit a388df1 into flat3:5.x Jul 12, 2024
16 checks passed
@27pchrisl
Copy link
Contributor

Thanks @yvo-niedrich !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants