Closed Bug 95317 Opened 23 years ago Closed 23 years ago

mail composer inserts badly formatted to: address from LDAP server

Categories

(MailNews Core :: LDAP Integration, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 89198

People

(Reporter: quan_tony, Assigned: srilatha)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-7.0.8 i686) BuildID: 2001080104 I've set up Mozilla to autocomplete e-mail addresses using our corporate LDAP server. Our LDAP server returns addresses of the form "Lastname,Firstname" <firstname.lastname@company.com> In Netscape 4.78, the quotes around "Lastname,Firstname" are retained on the To: line of the composed message. However, mozilla appears to strip away these quotes, so on the To: line of messages you get: Lastname,Firstname <Firstname.Lastname@company.com> When you try to send a message with a To: line like this, our company mail server puts up an error indicating that it couldn't understand this To: line. Mozilla should retain the quotes around the "Lastname,Firstname" part as Netscape 4.7x does. Otherwise, autocompletion won't work properly. Reproducible: Always Steps to Reproduce: 1. Under Preferences, select Addressing. 2. Under Auto-completion, set Mozilla to point to an LDAP server which returns email addresses in the "Lastname, Firstname" <Firstname.Lastname@company.com> format. 3. Compose a new mail. Type in a string in the To: field that triggers the autocompletion. 4. Note that the value returned to the To: field in mozilla is: Lastname, Firstname <Firstname.Lastname@company.com> instead of "Lastname, Firstname" <Firstname.Lastname@company.com> as it was in Netscape 4.7x. 5. Attempt to send the mail with the bogus To: address. Mail server gives error. Actual Results: To: address improperly formatted (quotes should be present around the name portion) Unable to send mail using the autocompleted address. Expected Results: Quotes should be present around the name portion. Able to send the mail with the autocompleted address. Mail server is Oracle eMail Server, LDAP server is Oracle Internet Directory.
user-agent I saw this problem in was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 BuildID: 2001080104
We are also seeing this with Mozilla 0.9.3 on both Solaris and Linux. We're using our corporate LDAP servers. Several users have complained that their LDAP configuration which was working with Netscape 4.77 is failing under Mozilla - This appears to be the reason.
This looks like it might be a duplicate of 89198. There's a workaround in that bug too, and 89198 has been fixed in later builds...
Marking this as dup of 89198. Please reopen this if you still see this problem with the latest builds *** This bug has been marked as a duplicate of 89198 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified dup
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.