You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/11/19 22:25:23 UTC
[tomcat] branch master updated: Fix test
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 9d7cb54 Fix test
9d7cb54 is described below
commit 9d7cb5468fbf2df4709c222b472bd86a26c9d4b6
Author: remm <re...@apache.org>
AuthorDate: Tue Nov 19 23:25:09 2019 +0100
Fix test
---
test/org/apache/catalina/filters/TestCsrfPreventionFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java b/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java
index 6d0c81d..1e74313 100644
--- a/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java
+++ b/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java
@@ -37,7 +37,7 @@ public class TestCsrfPreventionFilter extends TomcatBaseTest {
private final HttpServletResponse wrapper =
new CsrfPreventionFilter.CsrfResponseWrapper(
- new NonEncodingResponse(), "TESTNONCE");
+ new NonEncodingResponse(), Constants.CSRF_NONCE_SESSION_ATTR_NAME, "TESTNONCE");
@Test
public void testAddNonceNoQueryNoAnchor() throws Exception {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org