Skip to content

Bug: .domainsRegistrar.buySingleDomain() doesn't sanitize inputs #183

@RavenHursT

Description

@RavenHursT

Received an error from the Vercel API that the firstName field had a trailing space. I'm assuming I'd get the same error for other fields if they aren't .trim()'d before passing into the SDK?

Seems like something the lib could just do for the consumer instead of putting that onus on the consuming code?

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