From 715d33f001928f2fc7ccde0e673440e15f16a8a7 Mon Sep 17 00:00:00 2001 From: Kai Zander <61500114+kzander91@users.noreply.github.com> Date: Thu, 30 Apr 2026 08:52:29 +0200 Subject: [PATCH] Remove control character from log message in TransportHandlingSockJsService Closes gh-36731 Signed-off-by: Kai Zander <61500114+kzander91@users.noreply.github.com> --- .../socket/sockjs/transport/TransportHandlingSockJsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java index dd44e533cb9..fc0cb7318c9 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java @@ -309,7 +309,7 @@ public class TransportHandlingSockJsService extends AbstractSockJsService implem Principal currentPrincipal = request.getPrincipal(); if (!principal.equals(currentPrincipal) && (currentPrincipal == null || !principal.getName().equals(currentPrincipal.getName()))) { - logger.debug("The user for the session and the request do not match¶."); + logger.debug("The user for the session and the request do not match."); response.setStatusCode(HttpStatus.NOT_FOUND); return; }