Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19951

Email validation allows local domains/no FQDN after @

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.15
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Currently, attempting to create an email with an address of `foot` fails, but `foot@shoe` succeeds. This is technically a valid email address, but it's a local email (such as root@localhost), which seems undesirable to me.

      I'd propose adding validation to require at least one period character after the @. If no one has any objections, I'll make a PR.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              effy Effy Elden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: