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
Describe the bug
Chinese characters and other unicode characters cannot be used for redirects
汉字和其他unicode字符不能用于重定向
To Reproduce
#[test]
fn test() {
//salvo::hyper::Uri
let uri: Uri = "/1235/444".try_into().unwrap(); // is ok
Redirect::found("/1235/汉字"); // panic: invalid uri: Other("It isn't a valid URI")
let uri: Uri = "/1235/汉字".try_into().unwrap(); // panic: called `Result::unwrap()` on an `Err` value: InvalidUri(InvalidUriChar)
}
Desktop (please complete the following information):
OS: Ubuntu 24.04.1 LTS
Version 0.74.2
The text was updated successfully, but these errors were encountered:
Describe the bug
Chinese characters and other unicode characters cannot be used for redirects
汉字和其他unicode字符不能用于重定向
To Reproduce
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: