Skip to content

Domains beginning with "w" have their first letter stripped in the default email address. #114

Description

@dave-js

The default email address in incorrectly calculated by get_default_email_address(), which misuses ltrim to strip "www." from the start of the domain. This means that the default email address for any domain starting with "w" has that first letter stripped, too.

E.g. The default email for wordpress.org would be wp2fa@ordpress.org.

Fix here: #113

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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