PathTrie wrongly adds params
For instance, PathTrie builds two tries: "/a/{x}/b", "/{y}/c/d". While retrieving "/a/c/d", it breaks for the params are {x=c, y=a} instead of {y=a}. We should push params before retrieving next token and pop them if we have to use wildcard to retrieve again.
Hi @wy96f I would like to understand more about the actual usecase here. I would be curious to know what made you find this problem for instance, is this something that happens with some of the standard REST endpoints, or was this triggered by a plugin that registers custom ones?
Hi @javanna Found this while reading the code:)
Is this causing any actual bugs in Elasticsearch today? That is, are there any situations today where this issue causes Elasticsearch to do something unexpected or wrong? If there isn't a bug today, are there any situations where this issue could lead to a bug in Elasticsearch?
No further feedback. Closing