tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r957139 - /tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java
Date Wed, 23 Jun 2010 08:14:14 GMT
Author: markt
Date: Wed Jun 23 08:14:14 2010
New Revision: 957139

URL: http://svn.apache.org/viewvc?rev=957139&view=rev
Log:
Trim the value before adding to the list
Review feedback from kkolinko

Modified:
    tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java

Modified: tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?rev=957139&r1=957138&r2=957139&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java (original)
+++ tomcat/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java Wed Jun 23 08:14:14
2010
@@ -70,7 +70,7 @@ public class CsrfPreventionFilter extend
     public void setEntryPoints(String entryPoints) {
         String values[] = entryPoints.split(",");
         for (String value : values) {
-            this.entryPoints.add(value);
+            this.entryPoints.add(value.trim());
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message