Closed Burgyn closed 2 months ago
Hi guys.
I discovered strange and different routing behavior between versions 22.0.1 and 23.0.0.
22.0.1
23.0.0
In version 22.0.1 the routing works well as expected. We have the following configuration:
{ "DownstreamPathTemplate": "/{tenantId}/products?{everything}", "UpstreamPathTemplate": "/{tenantId}/products?{everything}", "UpstreamHttpMethod": [ "Get" ] }, { "DownstreamPathTemplate": "/{tenantId}/products/{everything}", "UpstreamPathTemplate": "/{tenantId}/products/{everything}", "UpstreamHttpMethod": [ "Get" ] },
When I call a request
GET localhost/1/products/1
then the correct route "/{tenantId}/products/{everything}" is selected.
"/{tenantId}/products/{everything}"
In version 23.0.0 the "DownstreamPathTemplate":"/{tenantId}/products?{everything}" path is chosen for some reason, which is not correct.
"DownstreamPathTemplate":"/{tenantId}/products?{everything}"
Maybe this PR? #748
Any idea for a quick fix on my part? Thank you very much.
Hi guys.
I discovered strange and different routing behavior between versions
22.0.1
and23.0.0
.Expected Behavior
In version
22.0.1
the routing works well as expected. We have the following configuration:When I call a request
then the correct route
"/{tenantId}/products/{everything}"
is selected.Actual Behavior
In version
23.0.0
the"DownstreamPathTemplate":"/{tenantId}/products?{everything}"
path is chosen for some reason, which is not correct.Specifications
Maybe this PR? #748
Any idea for a quick fix on my part? Thank you very much.