Skip to content

Group middleware does not work for "Any" route #2517

@KaymeKaydex

Description

@KaymeKaydex

Issue Description

Checklist

  • [ + ] Dependencies installed
  • [ + ] No typos
  • [ + ] Searched existing issues and docs

Expected behaviour

normal routing

Actual behaviour

{
"message": "Not Found"
}

Steps to reproduce

just create any request

Working code to debug

	g := e.Group("/api/test") 
	g.Use(echo.WrapMiddleware(mw.NewMW()))
	{
		g.Any("*", testController.Proxy) 
	}

actual result is 
{
    "message": "Not Found"
}
but route cant return anything

Version/commit

github.com/labstack/echo/v4 v4.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions