Closed Bug 182192 Opened 22 years ago Closed 20 years ago

Remove quotes (") from collected addresses

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: roger.perttu, Assigned: neil)

References

Details

(Keywords: verified1.7)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

It would be nice if double quotes in the from field is not imported in collected
addresses.

From: "First Last" <first.last@example.org>
Ends up like this in the address book:
 First:   "First
 Last:    Last"
 Display: "First Last"

Makes it hard to search the address book

Reproducible: Always

Steps to Reproduce:



Expected Results:  
First:   First
Last:    Last
Display: First Last

I would assume this is a duplicate bug, but I couldn't find any
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030117

I think, this is not only an enhancement, but also a bug. As you say, first and
last name do enclose the quotes which is certainly not correct. There might be a
reason to not remove the quotes completey, though.

I also cannot find a dupe.

Possibly, this here blocks bug 168204.

pi
Severity: enhancement → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Blocks: 168204
mass re-assign.
Assignee: racham → sspitzer
*** Bug 224097 has been marked as a duplicate of this bug. ***
Attached patch Proposed patch (obsolete) — Splinter Review
We just need to unquote the name before collecting it.

[ A pity someone couldn't spell collector ;-) ]
Attachment #138479 - Flags: review?(bienvenu)
Comment on attachment 138479 [details] [diff] [review]
Proposed patch

can you use an nsXPIDLCString for unquotedName? That would be slightly more
robust in terms of other changes introducing memory leaks.
Attachment #138479 - Attachment is obsolete: true
Assignee: sspitzer → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Comment on attachment 147661 [details] [diff] [review]
Use nsXPIDLCString

Sorry for the delay but I wasn't CC'd on the bug.

Is this patch small enough for r/sr?
Attachment #147661 - Flags: review?
Comment on attachment 147661 [details] [diff] [review]
Use nsXPIDLCString

Whoops, helps to specify a requestee ;-)
Attachment #147661 - Flags: superreview?(bienvenu)
Attachment #147661 - Flags: review?(bienvenu)
Attachment #147661 - Flags: review?
Attachment #147661 - Flags: superreview?(bienvenu)
Attachment #147661 - Flags: superreview+
Attachment #147661 - Flags: review?(bienvenu)
Attachment #147661 - Flags: review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Since 1.7 will be a major release (long term), I suggest to take it there also.

pi
Flags: blocking1.7?
I don't think we'd block the release for this. blocking1.7-
Flags: blocking1.7? → blocking1.7-
Comment on attachment 147661 [details] [diff] [review]
Use nsXPIDLCString

We have a fix, this would be very useful (usability!) for a long term release
like 1.7.

pi
Attachment #147661 - Flags: approval1.7?
Attachment #138479 - Flags: review?(bienvenu)
Comment on attachment 147661 [details] [diff] [review]
Use nsXPIDLCString

a=mkaply
Attachment #147661 - Flags: approval1.7? → approval1.7+
Keywords: fixed1.7
Verified as fix on latest 1.7 branch 06-24 builds.
Changing keywords from fixed1.7 to verified1.7.
Leave this bug status "as is" until this bug be verified on trunk again...
Keywords: fixed1.7verified1.7
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: