You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ggnaegi opened this issue
Nov 12, 2024
· 1 comment
· Fixed by #2200
Assignees
Labels
bugIdentified as a potential bugmergedIssue has been merged to dev and is waiting for the next releaseNov'24November 2024 releaseRoutingOcelot feature: Routing
Ocelot should be capable of matching paths that contain placeholders embedded between slashes, such as: /api/invoices_{url0}/{url1}-{url2}_abcd/{url3}?urlId={url4}.
Actual Behavior / Motivation for New Feature
Currently, Ocelot cannot match placeholders embedded between slashes. For example: /api/test/{url}-2 -> request: /api/test/a-2 -> the result will incorrectly return {url} = a-2.
Steps to Reproduce the Problem
Try any template with placeholders embedded between slashes
The text was updated successfully, but these errors were encountered:
raman-m
added
in progress
Someone is working on the issue. Could be someone on the team or off.
Dec'24
December 2024 release
and removed
in progress
Someone is working on the issue. Could be someone on the team or off.
labels
Nov 14, 2024
* Adding support for placeholder matching between slashes.
* now the behavior is right, it can't be that {finalUrlPath} matches product/products/categories/ since the last slash is part of the template and not the catch-all placeholder
* Performance improvements for EscapeExceptBraces
* EOL: test/Ocelot.UnitTests/DownstreamRouteFinder/UrlMatcher/UrlPathPlaceholderNameAndValueFinderTests.cs
Recover old test for feat 89.
Remove BDDfy from new unit tests.
Apply AAA-pattern.
* Review user scenarios of feat #89 tests
* Refactor unit tests
* Refactor acceptance tests
* Adding documentation for embedded placeholders
* Adding acceptance tests
* Adding suggestions
* again...
* Final code review by @raman-m.
FindGroups method is private, better to return exact type.
Regex optimizations across net6, 7, 8.
XML dev-docs markup review.
Rename 'curly bracket' to 'brace'.
---------
Co-authored-by: Raman Maksimchuk <[email protected]>
raman-m
added
merged
Issue has been merged to dev and is waiting for the next release
Nov'24
November 2024 release
and removed
accepted
Bug or feature would be accepted as a PR or is being worked on
Dec'24
December 2024 release
labels
Nov 17, 2024
bugIdentified as a potential bugmergedIssue has been merged to dev and is waiting for the next releaseNov'24November 2024 releaseRoutingOcelot feature: Routing
Expected Behavior / New Feature
Ocelot should be capable of matching paths that contain placeholders embedded between slashes, such as:
/api/invoices_{url0}/{url1}-{url2}_abcd/{url3}?urlId={url4}.
Actual Behavior / Motivation for New Feature
Currently, Ocelot cannot match placeholders embedded between slashes. For example:
/api/test/{url}-2
-> request:/api/test/a-2
-> the result will incorrectly return{url} = a-2
.Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: