You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sc...@apache.org on 2019/11/20 20:28:17 UTC
[tomcat] branch 8.5.x updated (7c9a50c -> 2c5664d)
This is an automated email from the ASF dual-hosted git repository.
schultz pushed a change to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git.
from 7c9a50c Adjust changelog to reflect which releases actually contain which improvements to the CSRF prevention filter.
new b97eadb Fix test
new 2c5664d Fix typpo
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
test/org/apache/catalina/filters/TestCsrfPreventionFilter.java | 2 +-
webapps/docs/changelog.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 02/02: Fix typpo
Posted by sc...@apache.org.
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/2c5664d5a4c8790bc6895a951083d40dffb6518e
commit 2c5664d5a4c8790bc6895a951083d40dffb6518e
Author: Christopher Schultz <ch...@christopherschultz.net>
AuthorDate: Wed Nov 20 15:27:59 2019 -0500
Fix typpo
---
webapps/docs/changelog.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index c28e432..8d9a8e1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -52,7 +52,7 @@
CSRF nonce request parameter name to be customized.
(schultz)
</add>
- </changgelog>
+ </changelog>
</subsection>
<subsection name="Coyote">
<changelog>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat] 01/02: Fix test
Posted by sc...@apache.org.
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 <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