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

Invalid email regexp

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.3.0
    • 4.3.0
    • Plugin : Web
    • None
    • 4.3 M7

      <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

       

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: