Protect STOMP passcode from showing up in logs
Issue: SRP-10868
This commit is contained in:
@@ -49,7 +49,7 @@ public final class TextMessage extends WebSocketMessage<String> {
|
||||
|
||||
@Override
|
||||
protected String toStringPayload() {
|
||||
return (getPayloadSize() > 80) ? getPayload().substring(0, 80) + "..." : getPayload();
|
||||
return (getPayloadSize() > 10) ? getPayload().substring(0, 10) + ".." : getPayload();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user