You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The middleware tries to determine the allowed methods by using the RouteResult::class request attribute, but since the middleware is (and has to be) executed before the routing middleware, that attribute is always null.
When that happens, it falls back to "allow all" HTTP methods, which kind of works, but it's not correct.
It should, instead, try to match the route for the requested path, and infer the allowed methods from there.
The text was updated successfully, but these errors were encountered:
The middleware tries to determine the allowed methods by using the
RouteResult::class
request attribute, but since the middleware is (and has to be) executed before the routing middleware, that attribute is always null.When that happens, it falls back to "allow all" HTTP methods, which kind of works, but it's not correct.
It should, instead, try to match the route for the requested path, and infer the allowed methods from there.
The text was updated successfully, but these errors were encountered: