Skip to content

Route with static and match-any for a path, always goes to match-any handler. #207

Closed
@vishr

Description

@vishr
e := echo.New()
e.Get("/", func(c *echo.Context) error {
    return c.String(200, "/")
})
e.Get("/*", func(c *echo.Context) error {
    return c.String(200, "/*")
})
e.Run(":1234")

GET / return /* (It should return /)
GET /users returns /*

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions