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

fail to search for index in directory with directory name containing CJK characters #3008

Open
1 task done
wh-timme opened this issue Nov 13, 2024 · 0 comments
Open
1 task done
Labels

Comments

@wh-timme
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

file path:
./public/hello/你好/index.html
will return 404 when accessing to http://serving_domain/hello/你好

Code snippet

app.static('/', './public', index='index.html')

Expected Behavior

redirect to ./public/hello/你好/index.html instead of 404 page

How do you run Sanic?

As a script (app.run or Sanic.serve)

Operating System

Linux

Sanic Version

24.6.0

Additional context

No response

@wh-timme wh-timme added the bug label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant