Closed Bug 130704 Opened 23 years ago Closed 18 years ago

CSV export does not use quotes or escapes to protect commas in fields.

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 124217

People

(Reporter: elentar, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031115 Address Book export should either wrap output fields in quotes or escape commas (or tabs when using tab-delimited) in the fields being exported. Currently, commas are left unchanged, causing errors in parsing the CSV file. Reproducible: Always Steps to Reproduce: 1.Create an Address Book entry with a comma in any field. 2.Export Address Book to a CSV file. 3.Open the saved file in a text editor and verify that the field contains an unescaped comma. Actual Results: A file was saved containing a single line for each entry in my address book. Each field was written "as-is", without any checking for the delimiter (tab or comma). Expected Results: Mozilla should have either written the file out with quotes around each field (preferred), or escaped the comma using either a backslash or a double comma. This probably should relate to what Mozilla can handle when importing a CSV file.
Marking New and I easily reproduced the issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Related bug 174142
mass re-assign.
Assignee: racham → sspitzer
Product: Browser → Seamonkey
Assignee: sspitzer → mail
This was fixed as part of bug 124217 - duplicate
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.