mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 02:21:25 +00:00
When internal tools (e.g. TTS) emit MEDIA:/tmp/... with absolute paths, isValidMedia() correctly rejects them for security. However, the rejected MEDIA: line was kept as visible text in the output, leaking the path to the user. Now strip MEDIA: lines that look like local paths even when the path is invalid, so they never appear as user-visible text. Closes #14365 Co-authored-by: Echo Ito <echoito@MacBook-Air.local>
7.7 KiB
7.7 KiB