This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 9dc00acdd0 Fix copy/paste error 9dc00acdd0 is described below commit 9dc00acdd04be9554954e5400d6c5f7650512c3d Author: Mark Thomas <ma...@apache.org> 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org