Code review comment for lp:~matiasb/canonical-identity-provider/working-on-1192555

Revision history for this message
Ricardo Kirkner (ricardokirkner) wrote :

> This also arises the question: should we normalize email addresses before saving to db (and before searching > on db)? Right now emails are stored as passed by the user.

I think we should store the emails as provided by the users (because according to the RFC the username part of the email can be case sensitive), but search for them in a case insensitive way.because people actually treat them as case insensitive.

« Back to merge proposal