Closed Bug 165126 Opened 22 years ago Closed 22 years ago

Mixed letter cases in e-mail causes duplicate notification e-mails to the same person

Categories

(Bugzilla :: Email Notifications, defect)

2.16
x86
Windows NT
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 117297

People

(Reporter: jan.vlcinsky, Assigned: preed)

Details

Steps to reproduce
==================
Supposing there exists an account john.lennon@beatles.com and I am user with 
another account. john.lennon@beatles.com hes set his e-mail notification as 
usually (do not send changes I made and notify me about every other change)
Edit or create a bug.
Fill into cc an e-mail "John.lennon@beatles.com" (note the uppercase J)
Submit the change

Expected
========
john.lennon@beatles.com will recieve just one notification e-mail about this 
bug/change.

Observed
=========
After bug was submited, program confirms adding comment/bug into database and 
reports sending e-mails
"Email sent to: john.lennon@beatles.com, John.lennon@beatles.com"

This is true also for other fields
==================================
The same problem exists for other fields, where e-mail can be entered.
This isn't really a bug.

While most MTAs these days consider John.lennon@example.com and
john.lennon@example.com to be the same person, that's not guaranteed by the SMTP
RFC (2821, if you wanna look it up).

In fact, it specifically says that the mailbox local part of the address *must*
be treated with case sensitivity:

(from section 2.4):

   Verbs and argument values (e.g., "TO:" or "to:" in the RCPT command
   and extension name keywords) are not case sensitive, with the sole
   exception in this specification of a mailbox local-part (SMTP
   Extensions may explicitly specify case-sensitive elements).  That is,
   a command verb, an argument value other than a mailbox local-part,
   and free form text MAY be encoded in upper case, lower case, or any
   mixture of upper and lower case with no impact on its meaning.  This
   is NOT true of a mailbox local-part.  The local-part of a mailbox
   MUST BE treated as case sensitive.  Therefore, SMTP implementations
   MUST take care to preserve the case of mailbox local-parts.  Mailbox
   domains are not case sensitive.  In particular, for some hosts the
   user "smith" is different from the user "Smith".  However, exploiting
   the case sensitivity of mailbox local-parts impedes interoperability
   and is discouraged.

Marking WONTFIX (although, this is really INVALID, but I do see your point,
which is why I'm marking it WONTFIX).

You can try to convince otherwise if you like...
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
actually, um, this was fixed; see bug 117297.

The grounds for doing that was that accounts are currently case insensiteve,
mostly because mysql string comparisons are case insensitive.....

If they weren't, then sending twice would still be wrong, because we should have
aborted when the address wasn't a valid login_name.

reopening to mark as a dupe
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---

*** This bug has been marked as a duplicate of 117297 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
I stand corrected. :-)

Thanks bbaetz!
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.