mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
Support deserializing paths to sequences: use "/{tail}*" syntax
This commit is contained in:
@@ -692,7 +692,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_extract_seq() {
|
||||
let mut router = Router::<()>::build();
|
||||
router.path("/path/to/{tail:.*}", ());
|
||||
router.path("/path/to/{tail}*", ());
|
||||
let router = router.finish();
|
||||
|
||||
let mut path = Path::new("/path/to/tail/with/slash%2fes");
|
||||
|
Reference in New Issue
Block a user