Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

皮肤库带参数访问时会发出多次请求 #634

Open
1 task
tnqzh123 opened this issue Jun 10, 2024 · 0 comments
Open
1 task

皮肤库带参数访问时会发出多次请求 #634

tnqzh123 opened this issue Jun 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tnqzh123
Copy link
Member

Blessing Skin 版本

f436c05 @ dev branch

PHP 版本

8.1

出现问题时所使用的浏览器

Microsoft Edge

您正在使用的 Web Server

Nginx

您正在使用宝塔吗?

出现了什么问题?

带筛选和排序参数访问皮肤库时(URL 中带有 uploaderkeywordsort 等参数),Blessing Skin 会同时发出两个请求,一个包含参数,一个不包含参数:
image

如不包含参数的请求相较包含筛选参数的请求更迟返回(如 #614 导致的情况),会导致页面短暂显示筛选或排序后的结果后,显示内容刷新,显示出未被筛选或排序的结果。

Animation

错误日志

No response

重现步骤

最简单的方法:在 LittleSkin 皮肤库随机挑选一个材质,进入材质详情页面,点击右边栏中的「上传者」,观察新打开的标签页中的现象。

@tnqzh123 tnqzh123 added the bug Something isn't working label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant