Allow colon in route after path param by evanrolfe · Pull Request #2847 · labstack/echo · GitHub
Skip to content

Allow colon in route after path param#2847

Open
evanrolfe wants to merge 1 commit into
labstack:masterfrom
evanrolfe:allow_colon_in_route_after_param
Open

Allow colon in route after path param#2847
evanrolfe wants to merge 1 commit into
labstack:masterfrom
evanrolfe:allow_colon_in_route_after_param

Conversation

@evanrolfe

Copy link
Copy Markdown

The current router implementation does not allow for colons in the route if they are immediately following a path parameter, this prevents us from following the Google API specification.

For example, I was unable to define a route which would match a URL like this: POST /files/1234:delete where 1234 should map to a :fileId path param. This PR fixes that.

@codecov

codecov Bot commented Dec 9, 2025

Copy link
Copy Markdown

@aldas aldas self-assigned this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants