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

Fix match_pattern() returning None for scope with resource of empty path (#1798)

* fix match_pattern function not returning pattern where scope has resource of path ""

* remove print in test

* make comparison on existing else if block

* add fix to changelog
This commit is contained in:
Joshua Parkin
2020-12-01 13:39:41 +00:00
committed by GitHub
parent 7981e0068a
commit 1f70ef155d
3 changed files with 40 additions and 1 deletions

View File

@ -4,6 +4,9 @@
### Fixed
* Ensure `actix-http` dependency uses same `serde_urlencoded`.
* Removed an occasional `unwrap` on `None` panic in `NormalizePathNormalization`.
* Fix match_pattern() returning None for scope with resource of empty path. [#1798]
[#1798]: https://github.com/actix/actix-web/pull/1798
## 3.3.0 - 2020-11-25