Closed
Bug 12390
Opened 25 years ago
Closed 24 years ago
Problem with '@' in POP3 & IMAP4 mail server username
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
M16
People
(Reporter: phil, Assigned: alecf)
References
Details
(Keywords: crash)
Subject: problem with @ in imap username Date: Tue, 24 Aug 1999 12:14:38 +0200 From: Henrik Gemal <gemal@dk.net> Organization: Tele Danmark Internet Newsgroups: netscape.public.mozilla.mail-news I'm using today's build (1999082316) and having problems with using a @ in the Imap username. Whenever I use @ in the username the account doesn't show i side under Messenger Folders. Actually all accounts doesn't show including my news account. Are @ not valid in Imap usernames? -- Henrik Gemal, gemal@dk.net Network Innovator Tele Danmark Internet
Comment 1•25 years ago
|
||
Adding myself to the cc list. I'm also adding alecf to the cc list as the problem may be in our uri parsing code which I think he is the most familiar with now.
Assignee | ||
Comment 2•25 years ago
|
||
oh no! @ in the username? I never really thought about that. We're going to have to escape this character, as well as "/" before storing it in the URI, and remember to unescape it when we actually need it for something.
Reporter | ||
Comment 3•25 years ago
|
||
Sounds like the same solution chrisf had in http://scopus/bugsplat/show_bug.cgi?id=300646
Comment 4•25 years ago
|
||
Alec, is the fix for this in the imap code, or the account manager code?
Assignee | ||
Comment 5•25 years ago
|
||
probably a bit of both. We have to encode/decode it in the account manager, but if there are any cases where a protocol extracts the username from the URI, then the protocol has to fix that.
Updated•25 years ago
|
Assignee: bienvenu → alecf
Comment 6•25 years ago
|
||
OK, please reassign to me when the account manager stuff is done so I can diddle imap.- also note that we want to do the same thing for pop, i.e., allow '@' in user names...I think you can do the account manager stuff without the individual protocols doing their stuff because unless the user name has escapable characters in it, it should be a noop to the protocols/uri parsing code.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
Comment 7•25 years ago
|
||
Adding nbaca to CC: list.
Reporter | ||
Updated•25 years ago
|
Summary: Problem with '@' in IMAP username → Problem with '@' in mail server username
Reporter | ||
Comment 9•25 years ago
|
||
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.
Reporter | ||
Comment 10•25 years ago
|
||
*** Bug 15467 has been marked as a duplicate of this bug. ***
Reporter | ||
Updated•25 years ago
|
Target Milestone: M12 → M15
Reporter | ||
Comment 11•25 years ago
|
||
M15
Comment 12•25 years ago
|
||
See also: http://bugzilla.mozilla.org/show_bug.cgi?id=22450.
Assignee | ||
Comment 13•25 years ago
|
||
*** Bug 22436 has been marked as a duplicate of this bug. ***
Updated•25 years ago
|
QA Contact: lchiang → nbaca
Assignee | ||
Comment 14•24 years ago
|
||
have we tried this lately? seems like bienvenu may have fixed this a while back, but maybe he was just doing folder names.
Comment 15•24 years ago
|
||
Build 2000-03-07-08M15: NT4 Henrik: Can you try using the "@" sign for you IMAP Username with a newer build to see if you are able to send and receive a message? Using the Account Wizard I've created POP, IMAP and News accounts using "@" and "/" and the accounts are created and display in the folder pane.
Comment 16•24 years ago
|
||
Hurra... I was able to login with a IMAP user name with a "@" in it. Everything seems to work!
Comment 17•24 years ago
|
||
Great! Marking Worksforme.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Updated•24 years ago
|
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
Comment 19•24 years ago
|
||
If you have @ in the username for a POP3 account Mozilla will crash with todays build 20000525!!!
Comment 20•24 years ago
|
||
henrik - can you file a new bug for that crash and include a talkback report? Thanks
Comment 21•24 years ago
|
||
Talkback Incident ID: TB11262650H
Comment 23•24 years ago
|
||
This seems to happens only in my POP3 account.
Summary: Problem with '@' in mail server username → Problem with '@' in POP3 mail server username
Comment 24•24 years ago
|
||
I've created a POP3 account using the '@' sign and a crash is not occuring with the 5/31 build using Win95 and Win98. When does the crash occur? In Account Wizard, after selecting something in Account Settings or after getting messages?
Reporter | ||
Comment 25•24 years ago
|
||
Ninoschka, are you talking about the account name in the Seamonkey Account Settings? Or the user ID for the mail server? Do you have a POP server that you can add a new user ID for? I think that's what this bug is about.
Comment 26•24 years ago
|
||
I entered the '@' sign for the mail server user ID. If it's a matter of just entering the '@' sign then I can try and duplicate the problem. If it requires me to actually have an account with an '@' sign then I'm not setup for this scenario, at this time.
Comment 27•24 years ago
|
||
Ok the problems is this: Create a POP3 account where you have a @, like "gemal@dk.net", in the username. Creating the account works just fine. After creating this account go to the account and press "Get Msg" and your mozilla will crash and burn! Mozilla build 2000060120
Comment 28•24 years ago
|
||
From bug http://bugzilla.mozilla.org/show_bug.cgi?id=41661, % in username will also cause a crash. Alec - do you want them all to be part of this bug?
Severity: normal → critical
Keywords: crash
Assignee | ||
Comment 29•24 years ago
|
||
hrm.. might be different bugs actually. let's just keep them seperate for now, but maybe the fix for one might fix the other..
Assignee | ||
Updated•24 years ago
|
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 30•24 years ago
|
||
sure enough, it is a dupe... (at first I was doubtful since the FIRST part of the bug mentions IMAP, which is fixed) *** This bug has been marked as a duplicate of 41161 ***
Comment 31•24 years ago
|
||
Are you for real???? The other bug that nothing to do with @ in POP username!
Comment 32•24 years ago
|
||
alec just put in the wrong number, that's all. I'll correct. http://bugzilla.mozilla.org/show_bug.cgi?id=41661
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 33•24 years ago
|
||
*** This bug has been marked as a duplicate of 41661 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Comment 35•24 years ago
|
||
I saw this discussion in MailConnect6 from John comments: http://www.imc.org/imc-mailconnect/mail-archive/msg00360.html * Clients which mishandle userids which have '@' characters in them. I don't think this is dup of bug 41161 either -- reopening this bug. Ccing myself and John. Adding POP and IMAP on the summary since problem are occurring on both.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Summary: Problem with '@' in POP3 mail server username → Problem with '@' in POP3 & IMAP4 mail server username
Comment 36•24 years ago
|
||
I think that I have conflict when I am sending this email. Lisa is right that it should be dup of bug 41661. *** This bug has been marked as a duplicate of 41661 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 38•24 years ago
|
||
thanks for finding the right dupe karen!
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•