Skip to content

email format allows nbsp character #1164

Open
@cwagner

Description

@cwagner

A project I work on uses

"format": "email"

in the schema, and we had an email pass validation with a leading nbsp character, i.e.

Since most other whitespace in the email results in validation errors, I believe this should too. The regex excludes \s characters, but nbsp characters are not included in that.

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