-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behaviour on greedy routes (/*) #489
Comments
Routes are implemented with radix tree; and luislavena’s version doesn’t support wildcards afaik |
the old version is working fine @vladfaust |
@codenoid which version? |
@sdogruyol master and 0.24.0 |
Has any headway been made on this? I am experiencing the same issue and would love to clear it up without a super hacky bit of code... ❤️ |
I had a similar issue, where given these routes
a GET to Seems to be similar to #293 |
this is really weird |
Hi, also getting randomly working greedy routes. |
Unsure if it would give more infos; given that a get wildcard has been defined with |
This is not occurring for me on the latest release (v1.1.0) with the following test code: require "kemal"
# Matches GET "http://host:port/"
get "/*" do
"Wildcard!"
end
get "/asdf" do
"asdf route"
end
Kemal.run |
can confirm the encountered issue ( |
Description
I have following routes definition:
When I request
/request1234
instead of "default route" response I got 404 error page.Steps to Reproduce
Expected behavior: "default route" response
Actual behavior: 404 page in html
Reproduces how often: every time
Versions
The text was updated successfully, but these errors were encountered: