mirrorz-help icon indicating copy to clipboard operation
mirrorz-help copied to clipboard

bug: 侧边栏跳转 path 中包含 '.' 的项结尾没有 '/'

Open taoky opened this issue 9 months ago • 3 comments

先决条件 (Prerequisites)

  • [X] 我已确认这个问题没有在其他 issues中提出过。 I am sure that this problem has NEVER been discussed in other issues.

发生了什么(What happened)

在侧边栏点击包括 "Rust crates.io 索引镜像" 等项时,URL 显示为:

https://help.mirrorz.org/crates.io-index.git

但不包含 '.' 的项,如 "Alpine 软件仓库",URL 显示为:

https://help.mirrorz.org/alpine/

如果结尾不为 '/',访问会出现 404。

期望的现象(What you expected to happen)

跳转至 "https://help.mirrorz.org/crates.io-index.git/"

如何重现此问题(How to reproduce it)

访问 https://help.mirrorz.org/ 或 ~~https://help.mirrors.cernet.edu.cn/~~,访问左侧边栏中诸如 "Rust crates.io 索引镜像" "GDB Git" 等项,之后刷新页面。

操作系统(OS Version)

N/A

浏览器(如果适用)(Browser version, if applicable)

Firefox 117.0.1

其他环境(Other environments)

N/A

其他需要说明的事项(Anything else we need to know)

N/A

taoky avatar Sep 25 '23 15:09 taoky