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
and they were equal up to 5.30, but since 5.31 they behave differently for "GET /a" request: route defined in first way return 404 since 5.31.
Example:
$ perl -Mojo -E 'app->routes->route("/a")->get("(*path)")->to(path=>undef,text=>"ok\n"); app->start' get /a | grep title
<title>Page not found (development mode)</title>
$ perl -Mojo -E 'app->routes->get("/a/(*path)")->to(path=>undef,text=>"ok\n"); app->start' get /a
ok
The text was updated successfully, but these errors were encountered:
Problem is in this one-line change: 8e12216#diff-2650135fc08c671d8b875d9b8480f498L203
I expect these two definitions of routes to be equal (they make different routing tree but should work in same way):
and they were equal up to 5.30, but since 5.31 they behave differently for "GET /a" request: route defined in first way return 404 since 5.31.
Example:
The text was updated successfully, but these errors were encountered: