commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1712698 - in /commons/proper/validator/trunk/src: changes/changes.xml test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
Date Thu, 05 Nov 2015 00:36:29 GMT
Author: sebb
Date: Thu Nov  5 00:36:29 2015
New Revision: 1712698

URL: http://svn.apache.org/viewvc?rev=1712698&view=rev
Log:
VALIDATOR-374 Email Validator : .school domain is being rejected
Was already fixed - add unit test to show this

Modified:
    commons/proper/validator/trunk/src/changes/changes.xml
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java

Modified: commons/proper/validator/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/changes/changes.xml?rev=1712698&r1=1712697&r2=1712698&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/changes/changes.xml (original)
+++ commons/proper/validator/trunk/src/changes/changes.xml Thu Nov  5 00:36:29 2015
@@ -43,6 +43,10 @@ The <action> type attribute can be add,u
   <body>
 
   <release version="1.5.0" date="tba" description="tba">
+    <action issue="VALIDATOR-374" type="fix">
+    Email Validator : .school domain is being rejected
+    Add Unit test to show it has been fixed
+    </action>
     <action issue="VALIDATOR-376" type="fix" dev="rgoers">
       Revert EmailValidator to handle top level domains to the behavior prior to VALIDATOR-273.
Allow an optional
       behavior to allow the behavior VALIDATOR-273 implemented. Note that this is a behavioral
change for users

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java?rev=1712698&r1=1712697&r2=1712698&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
Thu Nov  5 00:36:29 2015
@@ -500,4 +500,8 @@ public class EmailValidatorTest extends
                 "Etiamnisinislvenenatisvelauctorutullamcorperinjusto.Proinvelligulaerat.Phasellusvestibulumgravidamassanonfeugiat."+
                 "Maecenaspharetraeuismodmetusegetefficitur.Suspendisseamet@gmail.com"));
     }
+
+    public void testValidator374() {
+        assertTrue(validator.isValid("abc@school.school"));
+    }
 }



Mime
View raw message