Bug type
Regression (worked before, now fails)
Summary
When sending files with Chinese filenames through Feishu plugin, the recipient sees URL-encoded garbage instead of proper Chinese characters.
Steps to reproduce
- Create a file with Chinese filename (e.g., 测试文件.txt)
- Place it in ~/.openclaw/media/browser/
- Send the file using Feishu plugin's message tool with media parameter
- Check in Feishu - the filename appears as URL-encoded garbage (e.g., %E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6.txt)
Expected behavior
The recipient should see the original Chinese filename (测试文件.txt) in the Feishu message.
Actual behavior
The recipient sees URL-encoded filename like %E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6.txt instead of the Chinese characters.
OpenClaw version
2026.3.12
Operating system
Ubuntu 24.04 LTS (Linux)
Install method
No response
Model
volcengine-plan/ark-code-latest
Provider / routing chain
OpenClaw -> Feishu plugin v0.1.16 -> getFeishuRuntime().media.loadWebMedia()
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
Feishu plugin v0.1.16 already fixed their side by removing the sanitizeFileNameForUpload function that was percent-encoding filenames, but the root cause is in the OpenClaw core runtime where loadWebMedia URL-encodes filenames when processing local file paths as URLs.
Related Feishu plugin PR: m1heng/clawdbot-feishu#380
Bug type
Regression (worked before, now fails)
Summary
When sending files with Chinese filenames through Feishu plugin, the recipient sees URL-encoded garbage instead of proper Chinese characters.
Steps to reproduce
Expected behavior
The recipient should see the original Chinese filename (测试文件.txt) in the Feishu message.
Actual behavior
The recipient sees URL-encoded filename like %E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6.txt instead of the Chinese characters.
OpenClaw version
2026.3.12
Operating system
Ubuntu 24.04 LTS (Linux)
Install method
No response
Model
volcengine-plan/ark-code-latest
Provider / routing chain
OpenClaw -> Feishu plugin v0.1.16 -> getFeishuRuntime().media.loadWebMedia()
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
Feishu plugin v0.1.16 already fixed their side by removing the
sanitizeFileNameForUploadfunction that was percent-encoding filenames, but the root cause is in the OpenClaw core runtime whereloadWebMediaURL-encodes filenames when processing local file paths as URLs.Related Feishu plugin PR: m1heng/clawdbot-feishu#380