Skip to content

Firebase Auth export doesn't escape characters for a proper CSV format #3484

@PaulRashidi

Description

@PaulRashidi

[REQUIRED] Environment info

firebase-tools: 9.10.0

Platform: Linux

[REQUIRED] Test case

1.) Create Google Account with a double quota in the name
2.) Have them sign in to a Firebase App that uses Google Account Auth.
3.) Run firebase auth:export rawextract.csv --format=csv --project {project}
4.) Try to use the CSV file in another system that accepts CSV files.

[REQUIRED] Steps to reproduce

See Test case.

[REQUIRED] Expected behavior

CSV file is escaped when ' and " characters are within the data.

[REQUIRED] Actual behavior

The ' and " characters are NOT escaped and cause some CSV parsers issues resulting in us needing to run interim scripts to escape content.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions