Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.228 ·

Gateway log lines escape control characters

Gateway log lines escape control characters so request text cannot forge fake log entries.

Under the hood Improvements
JSON All of v2.1.228
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GatewayArea: what it touches
ImprovementsKind: in v2.1.228,
ImprovementsSection of the release
What

Every [gateway] line written to stderr now passes through an escaper that converts newlines, carriage returns, tabs, C0 and C1 controls and line separators into \n, \r, \t or \uXXXX, so text coming from a request cannot forge extra log lines.

Evidence

lxH = { "\n": "\\n", "\r": "\\r", "\t": "\\t" };

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.228 →

Feedback