-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Bug
Since release v23, the catch all functionality seems to be broken on subpaths. Absolute routes no longer match over catch-all ones.
Screenshot 1 works as intended, Screenshot 2 does not.
This seems to be related to this PR: #1911
Expected behaviour (Screenshot 1):
- http://localhost:5000/ -> http://localhost:8000/specific/
- http://localhost:5000/url -> http://localhost:8000/generic/url
Actual behaviour (Screenshot 1):
- http://localhost:5000/ -> http://localhost:8000/specific/
- http://localhost:5000/url -> http://localhost:8000/generic/url
Expected behaviour (Screenshot 2):
- http://localhost:5000/test -> http://localhost:8000/specific/
- http://localhost:5000/test/ -> http://localhost:8000/specific/
- http://localhost:5000/test/abc -> http://localhost:8000/generic/abc
Actual behaviour (Screenshot 2):
- http://localhost:5000/test -> http://localhost:8000/generic/ (Unexpected!)
- http://localhost:5000/test/ -> http://localhost:8000/generic/ (Unexpected!)
- http://localhost:5000/test/abc -> http://localhost:8000/generic/abc
Specifications
- Version: Ocelot 23.3.3
- Platform: Windows, Dotnet 8.0.302
- Subsystem: Kestrel
Metadata
Metadata
Assignees
Labels
No labels

