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

GET /users?email=ME@MINE.COM -- compare emails ignoring case #266

Merged

Conversation

srenatus
Copy link
Contributor

PR against master version of #265.

As of POOL-608, the query will return users with the mail `me@mine.com`,
too. While this is technically a little incorrect (only the host part is
case insensitive), most mail providers treat the user part as case
insensitive as well.

Note that this implies that the response may involve more than one user.
But chef-zero behaves like chef-server does, returning them all.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
@srenatus srenatus merged commit f56b997 into master Jun 1, 2017
@srenatus srenatus deleted the sr/pool-608/search-users-by-case-insensitive-email branch June 1, 2017 08:21
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants