Skip to content

query parameters oddness #293

@rdp

Description

@rdp

Hello. I noticed with this snippet:


require "kemal"

get "/new_tag_edit_list/:id" do |env|
  "hello1"
end

get "/new_tag_edit_list2" do |env|
  "hello2"
end

Kemal.run

it returns a 404 for this path:

http://127.0.0.1:3000/new_tag_edit_list2

FWIW. Seems to also affect POST's etc. as well.

Making them not "match" in prefix and everything works again...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions