Closed Bug 15467 Opened 27 years ago Closed 27 years ago

Improve logic for '@' in mail/news authentication

Categories

(MailNews Core :: Networking, enhancement, P3)

enhancement

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 12390

People

(Reporter: phil, Assigned: mscott)

Details

In early versions of Netscape mail, we found that users typed their full email address when they should have typed their mail server user name. In response, we had code which stripped the '@' and all of the characters following it. In 4.5, we found that some organizations legitimately require the whole email address *as* the mail server user name. In response, we added the pref "mail.allow_at_sign_in_user_name" which controls whether we strip the username or not. John Friend makes this good suggestion: > At thought just occurred to me. Maybe this "mail.allow_at_sign_in_user_name" > setting could be autodetected. The really awesome way to solve this problem > would be to just try the exact string the user enters as the user name. If > it works use it. If it doesn't work (e.g. auth fails), then strip off the @ > stuff and try again. If it works that time, make some note in prefs that > next time you should do the stripping. If the user ever changes their user > name, then clear the bit that says you should do the stripping so you try the > full name again. The only downside I can see is that if a user enters the @ > sign, we have one failed auth try before realizing that they shouldn't have > put the @ sign in. > > This would let both old users who have gotten used to our tolerance of this > work and new users who need the @ sign in their user name without any support > calls or custom prefs.
Bug http://bugzilla.mozilla.org/show_bug.cgi?id=12390 talks about this. Perhaps we should add the suggestions here into that bug and close this one out?
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → DUPLICATE
Ok, pasted these comments into 12390 *** This bug has been marked as a duplicate of 12390 ***
Status: RESOLVED → VERIFIED
thanks. verified as duplicate.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.