Skip to content

Non breaking space bypass email validation #2218

@Gaspar-Cdv

Description

@Gaspar-Cdv

"test [email protected]" won't pass since it's a regular space (0x0020), but "test [email protected]" will pass since it's a non breaking space (0x00A0).

In fact, /\s/ regex pattern is not checking for non breaking spaces.

Here is a thread about it: https://stackoverflow.com/questions/31790440/regex-to-replace-no-break-space

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