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

在使用国内v2ex头像加速服务时,会被默认拼接/avatar/导致目标资源404 #2057

Open
qqAys opened this issue Mar 28, 2024 · 0 comments

Comments

@qqAys
Copy link

qqAys commented Mar 28, 2024

存疑代码:

avatar, _ := url.Parse(fmt.Sprintf("/avatar/%x?d=mm&s=%s", has, sizes[service.Size]))

在使用v2ex进行头像加速服务时,由于拼接问题会导致找不到头像,请修复。

设置:

Snipaste_2024-03-28_17-48-44

正确请求:

Snipaste_2024-03-28_17-50-04

cloudreve拼接请求(浏览器已禁用缓存):

Snipaste_2024-03-28_17-49-23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant