1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

files: Fix redirect_to_slash_directory() when used with show_files_listing() (#2225)

This commit is contained in:
Ali MJ Al-Nasrawy
2021-05-26 12:42:29 +03:00
committed by GitHub
parent 3847429d00
commit e5b713b04a
3 changed files with 29 additions and 11 deletions

View File

@ -3,9 +3,11 @@
## Unreleased - 2021-xx-xx
* `NamedFile` now implements `ServiceFactory` and `HttpServiceFactory` making it much more useful in routing. For example, it can be used directly as a default service. [#2135]
* For symbolic links, `Content-Disposition` header no longer shows the filename of the original file. [#2156]
* `Files::redirect_to_slash_directory()` now works as expected when used with `Files::show_files_listing()`. [#2225]
[#2135]: https://github.com/actix/actix-web/pull/2135
[#2156]: https://github.com/actix/actix-web/pull/2156
[#2225]: https://github.com/actix/actix-web/pull/2225
## 0.6.0-beta.4 - 2021-04-02