You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Router cannot parse Non-ASCII characters in URL on
// `http://localhost:3000/中文/Cargo.toml`
// work
Application::new().handler("/", fs::StaticFiles::new(".", true).index_file("index.html"))
.resource(r"/%E4%B8%AD%E6%96%87/{tail:.*}", |r| r.method(Method::GET).f(index)),
// not work
Application::new().handler("/", fs::StaticFiles::new(".", true).index_file("index.html"))
.resource(r"/中文/{tail:.*}", |r| r.method(Method::GET).f(index)),
// not support chinese characters
"/%E4%B8%AD%E6%96%87.html" ---> "/中文"
"/%E4%B8%AD%E6%96%87/%E6%96%87%E4%BB%B6.html" --->"/中文/文件.html"
The text was updated successfully, but these errors were encountered:
Router cannot parse Non-ASCII characters in URL on
The text was updated successfully, but these errors were encountered: