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

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567636 ] jira [ 12590770 ]
        Mark Thomas made changes -
        Workflow jira [ 12346844 ] Default workflow, editable Closed status [ 12567636 ]
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Fix Version/s 4.1.1 [ 12312021 ]
        Henrik Jensen created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development