Remove control character from log message in TransportHandlingSockJsService

Closes gh-36731

Signed-off-by: Kai Zander <61500114+kzander91@users.noreply.github.com>
This commit is contained in:
Kai Zander
2026-04-30 08:52:29 +02:00
committed by Sam Brannen
parent bb5142164e
commit 715d33f001
@@ -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;
}