Closed Bug 313023 Opened 20 years ago Closed 19 years ago

confirmuniqueusermatch is case sensitive

Categories

(Bugzilla :: User Accounts, defect)

2.20
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: gregaryh, Assigned: gregaryh)

Details

Attachments

(1 file)

Email addresses should not be considered case sensitive.
CC: lpsolit@foo.netscape.net matched Administrator <LpSolit@foo.netscape.net> I see no problem here. Marking WFM.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
(In reply to comment #1) > CC: lpsolit@foo.netscape.net matched Administrator <LpSolit@foo.netscape.net> > > I see no problem here. Marking WFM. Actually that is the problem, the fact that it has to prompt at all. If the only difference between the address you typed and the address in the system is case, it should assume it is correct. This of course assumes that the profiles table is not case sensitive. However this should always be the case because emails addresses are identities in the real world and therefore should not key off of case.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
User.pm, line 997: # skip confirmation for exact matches if ((scalar(@{$users}) == 1) && (@{$users}[0]->{'login'} eq $query)) { Is "exact matches" case-sensitive or should it consider "foo" and "Foo" as being "exact"?
On my installation (Mysql on Linux) I cannot add a new user of the same email address where the case is different from the one existing in the database (i.e GHendricks and ghendricks are treated as the same user). It therefore follows that unique user match is exact without case sensitivity. I am not sure that it is impossible to set up an installation where this would not be the case, but I think in general it would be silly to do so.
Attached patch Patch v1Splinter Review
This really comes down to a policy decision I think, but IMHO it seems very silly to ask a user to confirm that yellow is Yellow or Blue is blue. This was brought to our attention by a b.n.c user and we have already implemented this since in our system email addresses are not case sensitive. If anyone can point me to a place where email@foo.com and EMail@foo.com are two different people, I will withdraw this request.
Assignee: user-accounts → ghendricks
Status: REOPENED → ASSIGNED
Attachment #218190 - Flags: review?(justdave)
Comment on attachment 218190 [details] [diff] [review] Patch v1 r=LpSolit. I will let justdave decide if "exact matches" also involves capitalization.
Attachment #218190 - Flags: review?(justdave) → review+
Not sure we want it for 2.22. justdave?
Severity: normal → minor
Flags: approval?
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.24
Flags: approval? → approval+
Checking in Bugzilla/User.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm new revision: 1.109; previous revision: 1.108 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: