1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

try path config from Data as well

This commit is contained in:
Rob Ede
2022-01-04 04:08:46 +00:00
parent c7639bc3be
commit 93754f307f
3 changed files with 15 additions and 2 deletions

View File

@ -340,6 +340,7 @@ mod tests {
assert_eq!(q.requote(b"/a%25b%2Bc").unwrap(), "/a%b+c");
assert_eq!(q.requote(b"/a%2fb").unwrap(), "/a%2fb");
assert_eq!(q.requote(b"/a%2Fb").unwrap(), "/a%2Fb");
assert_eq!(q.requote(b"/a%0Ab").unwrap(), "/a\nb");
}
#[test]