fail to search for index in directory with directory name containing CJK characters #3008
Open
Description
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