Tapestry
  1. Tapestry
  2. TAPESTRY-862

The current regex PATTERN in ..validator.Email requires at least two letters on either side of the @.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      4.0

      Description

      The current PATTERN value in org.apache.tapestry.form.validator.Email do not allow single letter domains or single letter names.
      Besides, the use of \w allows incorrect email addresses like this _@,_

      I believe this new regex pattern conform better to RFC2822,822: "^[A-Za-z0-9]([-_\.][A-Za-z0-9])@[A-Za-z0-9]([-_\.][A-Za-z0-9])(\.[_A-Za-z]

      {2,6}

      )$"

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Henrik Jensen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development