Skip to content

Bug: CLI Creator Parsing Splits on Commas #57

@debanshd

Description

@debanshd

In __main__.py, the --creator option parses 'Name[,Email[,URL]]' strings by blindly splitting on commas.

If a dataset creator is an organization with a comma in its legal name (e.g., "Google, LLC"), the name will be split and the secondary string ("LLC") will be interpreted as an email address.

Affected Location:

src/croissant_maker/__main__.py

    for creator_info in creator:
        # Parse format: "Name[,Email[,URL]]"
        parts = [part.strip() for part in creator_info.split(",")] # Dangerous!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions