Skip to content

fix api/friends/add email prop case sensitivity#17

Open
OvaisKhanday wants to merge 1 commit intojoschan21:masterfrom
OvaisKhanday:fix-email-case-sensitivity
Open

fix api/friends/add email prop case sensitivity#17
OvaisKhanday wants to merge 1 commit intojoschan21:masterfrom
OvaisKhanday:fix-email-case-sensitivity

Conversation

@OvaisKhanday
Copy link
Copy Markdown

Searching in Redis is case sensitive when searching for a user based on his/her email:

User@example.com is different than user@example.com.

But the redis-adapter we are using is storing emails in lowercase. So it is implicit that we also have to convert an email to lowercase before querying Redis for matching.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant