You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/11/05 01:36:29 UTC

svn commit: r1712698 - in /commons/proper/validator/trunk/src: changes/changes.xml test/java/org/apache/commons/validator/routines/EmailValidatorTest.java

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"));
+    }
 }