continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r666873 - /continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/
Date Wed, 11 Jun 2008 22:27:30 GMT
Author: evenisse
Date: Wed Jun 11 15:27:30 2008
New Revision: 666873

URL: http://svn.apache.org/viewvc?rev=666873&view=rev
Log:
[CONTINUUM-1601] Allow '+' in email address
Submitted by: Maria Catherine Tan

Modified:
    continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailGroupNotifierEditAction-mailProjectGroupNotifierSave-validation.xml
    continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailProjectNotifierEditAction-mailProjectNotifierSave-validation.xml

Modified: continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailGroupNotifierEditAction-mailProjectGroupNotifierSave-validation.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailGroupNotifierEditAction-mailProjectGroupNotifierSave-validation.xml?rev=666873&r1=666872&r2=666873&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailGroupNotifierEditAction-mailProjectGroupNotifierSave-validation.xml
(original)
+++ continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailGroupNotifierEditAction-mailProjectGroupNotifierSave-validation.xml
Wed Jun 11 15:27:30 2008
@@ -26,7 +26,8 @@
     <field-validator type="requiredstring">
       <message key="mailNotifier.address.required"/>
     </field-validator>
-    <field-validator type="email">
+    <field-validator type="regex">
+      <param name="expression"><![CDATA[(^[_A-Za-z0-9-]+[_A-Za-z0-9-+]*(\.[_A-Za-z0-9-+]+)*@([A-Za-z0-9-])+(\.[A-Za-z0-9-]+)*((\.[A-Za-z0-9]{2,})|(\.[A-Za-z0-9]{2,}\.[A-Za-z0-9]{2,}))$)]]></param>
       <message key="mailNotifier.address.invalid"/>
     </field-validator>
   </field>

Modified: continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailProjectNotifierEditAction-mailProjectNotifierSave-validation.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailProjectNotifierEditAction-mailProjectNotifierSave-validation.xml?rev=666873&r1=666872&r2=666873&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailProjectNotifierEditAction-mailProjectNotifierSave-validation.xml
(original)
+++ continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/notifier/MailProjectNotifierEditAction-mailProjectNotifierSave-validation.xml
Wed Jun 11 15:27:30 2008
@@ -26,7 +26,8 @@
     <field-validator type="requiredstring">
       <message key="mailNotifier.address.required"/>
     </field-validator>
-    <field-validator type="email">
+    <field-validator type="regex">
+      <param name="expression"><![CDATA[(^[_A-Za-z0-9-]+[_A-Za-z0-9-+]*(\.[_A-Za-z0-9-+]+)*@([A-Za-z0-9-])+(\.[A-Za-z0-9-]+)*((\.[A-Za-z0-9]{2,})|(\.[A-Za-z0-9]{2,}\.[A-Za-z0-9]{2,}))$)]]></param>
       <message key="mailNotifier.address.invalid"/>
     </field-validator>
   </field>



Mime
View raw message