Opened 16 years ago

Closed 16 years ago

#2405 closed defect (duplicate)

CSVReadParseLine doesn't properly handle double-backslash

Reported by: dstahlke Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.5.1
Severity: normal Keywords: CSVReadParseLine CSV quote backslash
Cc:

Description

The following line breaks the CSV parser:

1,2,"abc
"" def"

The problem is that CSVReadParseLine has logic that simply checks to see whether there is a backslash in front of a quote but does not have logic that interprets double-backslashes. The example given is then interpreted as having an odd number (three) of quotes.

Change History (1)

comment:1 by project10, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #2406

Note: See TracTickets for help on using tickets.