click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1037128 - /click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java
Date Sat, 20 Nov 2010 06:54:03 GMT
Author: sabob
Date: Sat Nov 20 06:54:03 2010
New Revision: 1037128

URL: http://svn.apache.org/viewvc?rev=1037128&view=rev
Log:
removed bypass validation as it raised security concerns. CLK-726

Modified:
    click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java

Modified: click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java?rev=1037128&r1=1037127&r2=1037128&view=diff
==============================================================================
--- click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java (original)
+++ click/trunk/click/framework/test/org/apache/click/util/ContainerUtilsTest.java Sat Nov
20 06:54:03 2010
@@ -64,9 +64,9 @@ public class ContainerUtilsTest extends 
         
         List<Field> fields = ContainerUtils.getInputFields(form);
         
-        // Total should be 4 consisting of the fields "hidden", "id" and the
-        // Forms internal HiddenFields "form_name" and "bypass_validation".
-        assertEquals(4, fields.size());
+        // Total should be 3 consisting of the fields "hidden", "id" and the
+        // Forms internal HiddenField, "form_name".
+        assertEquals(3, fields.size());
     }
 
     /**



Mime
View raw message