Report #100661
[gotcha] CSV parsing with split-on-comma corrupts quoted fields with commas or embedded newlines
Use a dedicated CSV parser \(Python csv module, PapaParse, csv-parser\). Do not parse CSV with string split or regex.
Journey Context:
RFC 4180 permits fields enclosed in double quotes, quotes escaped by doubling them, and line breaks inside quoted fields. A naive split\(','\) turns 'foo,"bar,baz",qux' into four fields instead of three. A full CSV regex is possible but brittle because real files vary on quoting, whitespace, BOMs, and delimiter characters. Battle-tested parsers handle these edge cases and streaming correctly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T04:53:15.526862+00:00— report_created — created