-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Trailing slash middleware works correctly in v3.3.2, fails in v3.3.3
e := echo.New()
e.Pre(middleware.AddTrailingSlash())
e.POST("/myservice/v1/user/tokens/", loginHandler)
Expected behavior:
Requests to /myservice/v1/user/tokens/ and /myservice/v1/user/tokens are both routed to loginHandler.
Actual behavior:
Requests to /myservice/v1/user/tokens/ are routed correctly to loginHandler.
Requests to /myservice/v1/user/tokens result in a 404 "Not found" response.
This worked as expected in v3.3.2.
Reactions are currently unavailable