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

decode reserved characters when extracting path with configuration (#577)

* decode reserved characters when extracting path with configuration

* remove useless clone

* add a method to get decoded parameter by name
This commit is contained in:
François
2018-11-24 14:54:11 +01:00
committed by Douman
parent 9aab382ea8
commit c386353337
7 changed files with 234 additions and 79 deletions

View File

@ -8,6 +8,12 @@
* `QueryConfig` and `PathConfig` are made public.
### Added
* By default, `Path` extractor now percent decode all characters. This behaviour can be disabled
with `PathConfig::default().disable_decoding()`
## [0.7.14] - 2018-11-14
### Added
@ -16,6 +22,9 @@
* Add method to configure `SameSite` option in `CookieIdentityPolicy`.
* By default, `Path` extractor now percent decode all characters. This behaviour can be disabled
with `PathConfig::default().disable_decoding()`
### Fixed