Improve logging clarity in CsrfFilter

Update toString() method in DefaultRequiresCsrfMatcher to better reflect its logic during trace-level logging.

Closes gh-17250

Signed-off-by: Deep Dhamala <dhamaladeep2@gmail.com>
This commit is contained in:
Deep Dhamala 2025-07-01 20:32:39 +05:45
parent 0137d0254c
commit fc7532cf3a
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public final class CsrfFilter extends OncePerRequestFilter {
@Override @Override
public String toString() { public String toString() {
return "CsrfNotRequired " + this.allowedMethods; return "IsNotHttpMethod " + this.allowedMethods;
} }
} }