This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new c832fc6498 Fix copy/paste error
c832fc6498 is described below
commit c832fc6498be5a384240e14384974e6162d183e2
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 10 16:09:38 2022 +0100
Fix copy/paste error
---
java/org/apache/catalina/filters/CsrfPreventionFilter.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/filters/CsrfPreventionFilter.java
b/java/org/apache/catalina/filters/CsrfPreventionFilter.java
index 2f811c226b..bfa65fc99c 100644
--- a/java/org/apache/catalina/filters/CsrfPreventionFilter.java
+++ b/java/org/apache/catalina/filters/CsrfPreventionFilter.java
@@ -262,7 +262,8 @@ public class CsrfPreventionFilter extends
CsrfPreventionFilterBase {
* cache. Unused by the default implementation.
* @param session The session associated with the request.
*
- * @return A newly created {@link NonceCache}
+ * @return The {@link NonceCache} currently associated with the request
+ * and/or session
*/
protected NonceCache<String> getNonceCache(HttpServletRequest request,
HttpSession session) {
@SuppressWarnings("unchecked")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]