Opened 11 years ago
Last modified 8 years ago
#21837 new Bug
auth.User Email - non-RFC spec normalization — at Initial Version
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.auth | Version: | 1.6 |
Severity: | Normal | Keywords: | authentication, email, filter, get, error nlsprint14 |
Cc: | FunkyBob, eromijn@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
when a user signs up with Monkey@…
auth.User.object.normalize_email() saves the email as Monkey@… to conform with RFC.
But future lookups will return None due to BadDomain.com != baddomain.com where the user continually enters Monkey@… because thats what in their muscle/chrome memory.
- normalize_email is applied at the orm level, but should (also?) be applied at the Field level to help with this problem.
Note:
See TracTickets
for help on using tickets.