mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
0d823d74e0
commit
74b77679ed
|
@ -1,7 +1,7 @@
|
|||
# Changes
|
||||
|
||||
## Unreleased - 2021-xx-xx
|
||||
- `Files`: `%2F` in request URL path is now decoded to `/` and thus functions as a path separator. [#2398]
|
||||
- `Files`: `%2F` in request URL path is now decoded to `/` and thus functions as a path separator. [#2398]
|
||||
- `Files`: Fixed a regression where `%25` in the URL path is not decoded to `%` in the file path. [#2398]
|
||||
- Minimum supported Rust version (MSRV) is now 1.54.
|
||||
|
||||
|
|
|
@ -804,7 +804,9 @@ mod tests {
|
|||
assert_eq!(res.status(), StatusCode::OK);
|
||||
|
||||
// `%2F` == `/`
|
||||
let req = TestRequest::get().uri("/test/%2F..%2F..%2Ftests%2Ftest.binary").to_request();
|
||||
let req = TestRequest::get()
|
||||
.uri("/test/%2F..%2F..%2Ftests%2Ftest.binary")
|
||||
.to_request();
|
||||
let res = test::call_service(&srv, req).await;
|
||||
assert_eq!(res.status(), StatusCode::OK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue