Closed
Bug 313023
Opened 20 years ago
Closed 19 years ago
confirmuniqueusermatch is case sensitive
Categories
(Bugzilla :: User Accounts, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: gregaryh, Assigned: gregaryh)
Details
Attachments
(1 file)
645 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Email addresses should not be considered case sensitive.
![]() |
||
Comment 1•20 years ago
|
||
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
Assignee | ||
Comment 2•20 years ago
|
||
(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 → ---
![]() |
||
Comment 3•20 years ago
|
||
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"?
Assignee | ||
Comment 4•20 years ago
|
||
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.
Assignee | ||
Comment 5•19 years ago
|
||
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 6•19 years ago
|
||
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+
![]() |
||
Comment 7•19 years ago
|
||
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
Updated•19 years ago
|
Flags: approval? → approval+
![]() |
||
Comment 8•19 years ago
|
||
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 ago → 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•