Skip to content

Incorrect calculation of placeholders #2212

@fenzad

Description

@fenzad

Expected Behavior

Path: /dati-registri/v1.0/operatore/R80QQ5J9600/valida
Template: /dati-registri/{version}/{everything}

Expected:
version = v1.0
everything = operatore/R80QQ5J9600/valida

Actual Behavior

version = v1.0/operatore/R80QQ5J9600
everything = valida

in the previous version, the behavior was as expected

Steps to Reproduce the Problem

Set the configuration in the gateway with an ocelot.settings.json file with an UpstreamPathTemplate as indicated in the first point and create an endpoint in the API with the path indicated in the first point.

Specifications

  • Version: 23.4.0.0
  • Platform: .net 9 win

Metadata

Metadata

Assignees

Labels

Nov'24November 2024 releaseRoutingOcelot feature: RoutingbugIdentified as a potential bughighestHighest priority

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions