Skip to content

CSV is not valid when the message includes quotes #3

@mirod

Description

@mirod

Quotes are not escaped within the message.

So the CSV includes lines like this:

"Tue, 29 Dec 2020 08:04:57 GMT",Faction,"You gave $21,000,000 to <a href = "/profiles.php?XID=2352782" target = "_self">MacB</a> from <a href = "/factions.php?step=profile&ID=27223"target = "_self">Little Stompers</a>"

my CSV parser complains that this is not proper CSV, due to the quotes in the message.

To avoid the problem, I would replace cvs by tsv and be done with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions