openclaw/src
Marcus Castro d91e995e46
fix(inbound): preserve literal backslash-n sequences in Windows paths (#11547)
* fix(inbound): preserve literal backslash-n sequences in Windows paths

The normalizeInboundTextNewlines function was converting literal backslash-n
sequences (\n) to actual newlines, corrupting Windows paths like
C:\Work\nxxx\README.md when sent through WebUI.

This fix removes the .replaceAll("\\n", "\n") operation, preserving
literal backslash-n sequences while still normalizing actual CRLF/CR to LF.

Fixes #7968

* fix(test): set RawBody to Windows path so BodyForAgent fallback chain tests correctly

* fix: tighten Windows path newline regression coverage (#11547) (thanks @mcaxtr)

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-02-13 18:24:01 +01:00
..
acp fix: close OC-02 gaps in ACP permission + gateway HTTP deny config (#15390) (thanks @aether-ai-agent) 2026-02-13 14:30:06 +01:00
agents fix(slack): apply limit parameter to emoji-list action (#13421) 2026-02-13 18:20:41 +01:00
auto-reply fix(inbound): preserve literal backslash-n sequences in Windows paths (#11547) 2026-02-13 18:24:01 +01:00
browser perf: use .abort.bind() instead of arrow closures to prevent memory leaks (#7174) 2026-02-13 18:13:18 +01:00
canvas-host perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
channels fix(slack): apply limit parameter to emoji-list action (#13421) 2026-02-13 18:20:41 +01:00
cli perf(test): remove extra module resets in cli and message suites 2026-02-13 16:08:38 +00:00
commands Auth: land codex oauth onboarding flow (#15406) 2026-02-13 17:18:49 +00:00
compat
config perf(test): replace module resets with direct spies and runtime seams 2026-02-13 16:04:49 +00:00
cron test: migrate suites to e2e coverage layout 2026-02-13 14:28:22 +00:00
daemon perf(test): optimize heavy suites and stabilize lock timing 2026-02-13 13:29:07 +00:00
discord Discord: fix bare guild ID misrouted as channel ID in parser 2026-02-13 11:03:10 -06:00
docs Docs: landing page revamp (#8885) 2026-02-04 10:37:14 -05:00
gateway Gateway: sanitize WebSocket log headers (#15592) 2026-02-13 11:11:54 -06:00
hooks fix: increase image tool maxTokens from 512 to 4096 (#11770) 2026-02-13 17:52:27 +01:00
imessage fix(imessage): prevent rpc spawn in tests 2026-02-13 17:36:37 +01:00
infra fix: use relayAbort helper for addEventListener to preserve AbortError reason 2026-02-13 18:13:18 +01:00
line fix(auto-reply): prevent sender spoofing in group prompts 2026-02-10 00:44:38 -06:00
link-understanding chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
logging perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
macos chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
markdown feat(telegram): render blockquotes as native <blockquote> tags (#14608) (#14626) 2026-02-12 08:11:57 -05:00
media perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
media-understanding feat(agents) : Hugging Face Inference provider first-class support and Together API fix and Direct Injection Refactor Auths [AI-assisted] (#13472) 2026-02-13 16:18:16 +01:00
memory perf(test): remove module reloads in browser and embedding suites 2026-02-13 15:31:17 +00:00
node-host fix: prevent act:evaluate hangs from getting browser tool stuck/killed (#13498) 2026-02-11 07:54:48 +08:00
pairing fix(pairing): use actual code in pairing approval text 2026-02-10 19:48:02 -05:00
plugin-sdk Update contributing, deduplicate more functions 2026-02-09 19:21:33 -08:00
plugins perf(test): replace module resets with direct spies and runtime seams 2026-02-13 16:04:49 +00:00
process fix(windows): normalize env entries for spawn 2026-02-13 17:48:04 +01:00
providers perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
routing fix: add discord role allowlists (#10650) (thanks @Minidoracat) 2026-02-12 19:52:24 -06:00
scripts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
security perf(test): replace module resets with direct spies and runtime seams 2026-02-13 16:04:49 +00:00
sessions fix: preserve inter-session input provenance (thanks @anbecker) 2026-02-13 02:02:01 +01:00
shared/text chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
signal perf(test): reduce module reload churn in unit suites 2026-02-13 15:19:13 +00:00
slack fix(slack): override video/* MIME to audio/* for voice messages (#14941) 2026-02-13 18:09:04 +01:00
telegram perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
terminal fix(onboarding): exit cleanly after web ui hatch 2026-02-13 03:20:32 +01:00
test-helpers fix: use STATE_DIR instead of hardcoded ~/.openclaw for identity and canvas (#4824) 2026-02-07 22:16:59 -05:00
test-utils chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
tts perf: use .abort.bind() instead of arrow closures to prevent memory leaks (#7174) 2026-02-13 18:13:18 +01:00
tui Centralize date/time formatting utilities (#11831) 2026-02-08 04:53:31 -08:00
types fix: update pi packages to 0.51.0, remove bogus type augmentation 2026-02-02 01:52:33 +01:00
utils fix: use relayAbort helper for addEventListener to preserve AbortError reason 2026-02-13 18:13:18 +01:00
web fix: execute sandboxed file ops inside containers (#4026) 2026-02-13 16:29:10 +01:00
whatsapp chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
wizard fix(configure): reject literal "undefined" and "null" gateway auth tokens (#13767) 2026-02-13 17:04:41 +01:00
channel-web.barrel.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
channel-web.ts
docker-setup.test.ts fix(tts): strip markdown before sending text to TTS engines (#13237) 2026-02-12 10:46:57 -05:00
entry.ts Centralize date/time formatting utilities (#11831) 2026-02-08 04:53:31 -08:00
extensionAPI.ts chore: Migrate to tsdown, speed up JS bundling by ~10x (thanks @hyf0). 2026-02-03 20:18:16 +09:00
globals.test.ts
globals.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
index.test.ts
index.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
logger.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
logger.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
logging.ts perf(test): eliminate resetModules via injectable seams 2026-02-13 16:20:37 +00:00
polls.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
polls.ts
runtime.ts CLI: restore terminal state on exit 2026-02-03 06:10:19 +00:00
utils.test.ts fix(paths): structurally resolve home dir to prevent Windows path bugs (#12125) 2026-02-08 20:06:29 -05:00
utils.ts Deduplicate more 2026-02-09 18:56:58 -08:00
version.test.ts fix: CLI harden update restart imports and fix nested bundle version resolution 2026-02-06 00:09:48 -05:00
version.ts fix: CLI harden update restart imports and fix nested bundle version resolution 2026-02-06 00:09:48 -05:00