Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10200

Invalid email regexp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: Plugin : Web
    • Labels:
      None
    • Sprint:
      4.3 M7

      Description

      <cms:metadata name="mail" type="string">
           <label i18n="true">CONTENT_ARTICLE_AUTHOR_MAIL</label>
           <description i18n="true">CONTENT_ARTICLE_AUTHOR_MAIL_DESC</description>
           <validation>
               <regexp>^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z0-9][A-Za-z0-9]+)$</regexp>
               <invalidText i18n="true">PLUGINS_WEB_REGEXP_INVALID_MAIL</invalidText>
           </validation>
       </cms:metadata>

      Should be

      <regexp>^.+@.+$</regexp>
      
      

       

      Fields to test

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pgros Pierre Gros
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: