BeyondDimension / BeyondDimension/SteamTools
🐛[BUG] system加速模式下url转义错误,与gitee平台中url风格分支名不兼容
- Dominant language
- C#
- Stars
- 26.8k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
## 请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue
- [x] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)
### 🐛 描述
在开启 system 加速模式下,如果分支名带有`/`,则会在gitee的分支切换、创建pr的时候报404错误,原因是链接发生了二次转义(`/`->`%2F`->`%252F`)。
相关的Gitee issue链接:https://gitee.com/oschina/git-osc/issues/IK9PCW
### 📷 复现步骤
#### 路径1
0. 打开Watt Toolit,将加速模式调整为System,并开启加速服务
1. 进入 https://gitee.com/Jesse205/test-path-style-branch
2. 点击左上角分支选择器,选择 `feat/add-xxx1` 或者 `fix/delete-xxx1`
4. 页面报错 404
#### 路径2
0. 打开Watt Toolit,将加速模式调整为System,并开启加速服务
1. 进入 https://gitee.com/Jesse205/test-path-style-branch
2. 点击顶部 **Pull Requests**
3. 点击右上角 **新建 Pull Requests**
4. 点击顶部源分支/目标分支的选择器,选择 `feat/add-xxx1` 或者 `fix/delete-xxx1`
5. 提示 `目标/源分支 feat%2Fadd-xxx1/fix%2Fdelete-xxx1 不存在`
### 📄 日志信息
### 🖼 截图
https://github.com/user-attachments/assets/c2a28922-5027-46c5-b781-adea572ba74f
### 🚑 其他信息
- 处理器体系结构:x64
- 系统版本号:Windows 11 26200.9168
- 下载渠道:微软商店
- 程序版本:3.1.0
- 是否包含独立运行时:未知
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with System acceleration enabled in the referenced Gitee repository, using branches containing `/`. Trace the branch selector and pull-request branch URL handling; done means these branches can be selected and used to create pull requests without double encoding or 404 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100