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

修复部分代码,修复迅雷翻页 #716

Merged
merged 1 commit into from Mar 9, 2022
Merged

修复部分代码,修复迅雷翻页 #716

merged 1 commit into from Mar 9, 2022

Conversation

foxxorcat
Copy link
Member

正好把前面的问题改一下
还有就是我发现如果文件名带#的话浏览器会识别成锚点导致无法访问

@xhofe
Copy link
Member

xhofe commented Mar 9, 2022

是的 /#都不支持

@foxxorcat
Copy link
Member Author

可以考虑前端对文件名进行url编码,我试了一下编码后就能访问了

@xhofe xhofe merged commit 10fce6c into alist-org:dev Mar 9, 2022
@xhofe
Copy link
Member

xhofe commented Mar 9, 2022

在哪里加编码 已经encodeURI过一次了啊

@foxxorcat
Copy link
Member Author

看了一下源码应该是这个的问题
encodeURI方法不会对下列字符编码 ASCII字母 数字 ~!@#$&()=:/,;?+'
encodeURIComponent方法不会对下列字符编码 ASCII字母 数字 ~!
()'

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

Successfully merging this pull request may close these issues.

None yet

2 participants