Skip to content

[Cleanup] normalize_path 对 Windows 路径 component 处理边界 case #346

@TrueNine

Description

@TrueNine

🐛 问题描述

sdk/src/policy/cleanup.rs:85-111normalize_path 对 Windows 路径前缀(如 C:)处理可能不完整。

📁 证据

cleanup.rs 第 85-111 行。

✅ 修复建议

增加 Windows 路径测试用例覆盖。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglowLow priorityrustRust SDK/CLI/MCP code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions