forked from figmar/apes-sidebar
当 cwd 与产出路径都是 //server/share/... 形式时,此前两个 isWindowsStylePath 都为 false 而漏掉 '//' 标记,win32 解码后落在当前 盘符被 isWithin 拒绝。现按 review 建议:'//' 路径仅在其 '//' cwd 匹配时 视为 UNC;POSIX 会话的 '//' 绝对路径仍保持无标记。
当 cwd 与产出路径都是 //server/share/... 形式时,此前两个 isWindowsStylePath 都为 false 而漏掉 '//' 标记,win32 解码后落在当前 盘符被 isWithin 拒绝。现按 review 建议:'//' 路径仅在其 '//' cwd 匹配时 视为 UNC;POSIX 会话的 '//' 绝对路径仍保持无标记。