This is an automated email from the ASF dual-hosted git repository. schultz pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
View the commit online: https://github.com/apache/tomcat/commit/b97eadb4e3126952f35de8a4b396c4ca46939d12 commit b97eadb4e3126952f35de8a4b396c4ca46939d12 Author: remm <r...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org