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

Change NormalizePath to append trailing slash (#1433)

* Change NormalizePath to append trailing slash

* add tests

* Update CHANGES.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
Stephen Eckels
2020-04-04 14:26:40 -04:00
committed by GitHub
parent fcb1dec235
commit aaff68bf05
2 changed files with 42 additions and 2 deletions

View File

@ -5,6 +5,7 @@
### Changed
* Implement `std::error::Error` for our custom errors [#1422]
* NormalizePath middleware now appends trailing / so that routes of form /example/ respond to /example requests.
[#1422]: https://github.com/actix/actix-web/pull/1422