Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33192

EMailValidator doesn't exclude hyphens at the beginning and end of domain names

    XMLWordPrintableJSON

    Details

      Description

      E-Mail addresses like test@online.de or test@online.net aren't allowed and often misspelled by users (for example with an e-mail of the german provider t-online.de).

      To fix it change the line 246 of the EMailValidator from:
      if (domain.charAt(0) == ".")

      to

      if (domain.charAt(0) == "." || domain.charAt(0) == "" || domain.charAt(periodPos - 1) == "")

        Attachments

          Activity

            People

            • Assignee:
              cyrill Cyrill Zadra
              Reporter:
              bchalupka Benjamin Chalupka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified