This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 352a55934b Fix copy/paste error
352a55934b is described below

commit 352a55934bb8198db7249fde6f9cfb2a8053b285
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 c4bab4818f..569f583617 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]

Reply via email to