I am trying to solve an issue with the docker api where the endpoint takes a param like
/containers/{name:.*}/checkpoints
if name is passed as "../"
instead of serving /containers/..//checkpoints the path becomes /checkpoints
and doesn't get passed to the handler function because it doesn't match the added route path.
There are too many endpoints that are affected and I would be interested to hear if there would be an easy way to solve this globally.
I am trying to solve an issue with the docker api where the endpoint takes a param like
/containers/{name:.*}/checkpoints
if name is passed as "../"
instead of serving /containers/..//checkpoints the path becomes /checkpoints
and doesn't get passed to the handler function because it doesn't match the added route path.
There are too many endpoints that are affected and I would be interested to hear if there would be an easy way to solve this globally.