mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Fix URI captures matching empty segments (#264)
It was never the intention that `/:key` should match `/`. This fixes that. Part of https://github.com/tokio-rs/axum/issues/259
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
# Unreleased
|
||||
|
||||
- 👀
|
||||
- **fixed:** Fix URI captures matching empty segments. This means requests with
|
||||
URI `/` will no longer be matched by `/:key` ([#264](https://github.com/tokio-rs/axum/pull/264))
|
||||
|
||||
# 0.2.1 (24. August, 2021)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user