mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
370 B
Markdown
13 lines
370 B
Markdown
# DIFF-138:Git remote URL 校验
|
||
|
||
对照 Electron `vaultGitService.normalizeRemote`。
|
||
|
||
## 范围
|
||
|
||
- `GitEngine.normalizeGitRemote` / `setRemote`:仅允许 `http(s)://`、`ssh://`、`git://`、`git@`、`file://`;拒绝 `javascript:` 等;空字符串用于移除 remote。
|
||
- 单测:`rejectsUnsafeGitRemotes`。
|
||
|
||
## 文件
|
||
|
||
- `GitEngine.kt`、`GitEngineTest.kt`
|