Server text that one of the client's own messages quotes — the messages of an error list
sent with status 200 — made safe and short: whitespace (line breaks, U+2028/U+2029
included) folded to one space, so it stays on one line; control characters and the bidi
controls dropped (sanitizeServerText, which reads at most the first 16 384 units); trimmed
and cut at max characters (200). The error's body keeps the server's text as it came.
Server text that one of the client's own messages quotes — the messages of an error list sent with status 200 — made safe and short: whitespace (line breaks, U+2028/U+2029 included) folded to one space, so it stays on one line; control characters and the bidi controls dropped (
sanitizeServerText, which reads at most the first 16 384 units); trimmed and cut atmaxcharacters (200). The error'sbodykeeps the server's text as it came.