Skip to content

email uniqueness is done with case-sensitivity on some databases #11

@gavinwahl

Description

@gavinwahl

Postgres performs string comparison case-sensitively, mysql does it case-insensitive. This means that on postgres, [email protected], [email protected] and [email protected] are all distinct emails, and a user could register with each one.

Domain names are not case sensitive, so at least the domain part should lowercased. The local part of an email address is technically case sensitive, but I don't think it is in practice.

The easiest way to accomplish this would be to lowercase email addresses before storing them, but it might be wrong to mangle addresses like 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