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

Some folder names with special characters will raise a 404 error #419

Closed
52funny opened this issue Jul 21, 2024 · 1 comment
Closed

Some folder names with special characters will raise a 404 error #419

52funny opened this issue Jul 21, 2024 · 1 comment

Comments

@52funny
Copy link
Contributor

52funny commented Jul 21, 2024

Problem

In some cases, a 404 error may occur. For example, I have a folder in my directory called a&b which will be rendered as a&b on the front-end page, which will result in a 404 error on access.

image
image

@52funny
Copy link
Contributor Author

52funny commented Jul 22, 2024

Author your commit #421 solves some problems but creates some new ones. For example, when the folder is some non-ASCII form of string, it may cause garbled problems. The root cause is that the atob function only accept a few ASCII characters, resulting in errors parsing strings beyond the 0xff range.

index.js #L111

image

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

2 participants