Skip to content

How to handle variables passed as ../ #226

@krasi-georgiev

Description

@krasi-georgiev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions