Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-464

Email address validation is not RFC-2822 compliant

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.2
    • 1.1.1
    • None
    • None

      You should be able to enter an email address with a '+' symbol. Currently the regex backing the email validation does not allow this character.

            [CWD-464] Email address validation is not RFC-2822 compliant

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1509379 ] New: JAC Bug Workflow v3 [ 3364543 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1391265 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1509379 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 272881 ] New: Simplified Crowd Development Workflow v2 [ 1391265 ]

            joe added a comment -

            This issue has been superseded. As of CWD-2065, the only check is for the presence of an @ sign.

            joe added a comment - This issue has been superseded. As of CWD-2065 , the only check is for the presence of an @ sign.
            joe made changes -
            Link New: This issue is superseded by CWD-2065 [ CWD-2065 ]

            Sorry, stuffed up the comment above

            [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@
            (?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?
            

            BugInc Admin added a comment - Sorry, stuffed up the comment above [a-z0-9!#$%& '*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&' *+/=?^_`{|}~-]+)*@ (?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

            Which regex from that page did you use? Cos there's a couple there! It obviously isn't

            [a-z0-9!#$%&'*+/=?^_`

            Unknown macro: {|}

            ~-](?:\.[a-z0-9!#$%&'*/=?^_`

            ~-])@(?:[a-z0-9](?:[a-z0-9-][a-z0-9])?\.)[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

            which is the most complete one, as otherwise I wouldn't have any validation issues forwarding issues to emails containing a '&'. Could you please reopen this issue and fix it properly? The email validation is not robust enough, and as CareFlight says quite unnecessary.

            BugInc Admin added a comment - Which regex from that page did you use? Cos there's a couple there! It obviously isn't [a-z0-9!#$%&'*+/=?^_` Unknown macro: {|} ~-] (?:\.[a-z0-9!#$%&'* /=?^_` ~-] ) @(?: [a-z0-9] (?: [a-z0-9-] [a-z0-9] )?\.) [a-z0-9] (?: [a-z0-9-] * [a-z0-9] )? which is the most complete one, as otherwise I wouldn't have any validation issues forwarding issues to emails containing a '&'. Could you please reopen this issue and fix it properly? The email validation is not robust enough, and as CareFlight says quite unnecessary.
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 174003 ] New: Crowd Development Workflow v2 [ 272881 ]
            Justin Koke made changes -
            Workflow Original: jira [ 85275 ] New: JIRA Bug Workflow v2 [ 174003 ]
            shihab made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

              shamid@atlassian.com shihab
              justin@atlassian.com Justin Koke
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: