Skip to content

Path with ending / thinks it is empty binding #128

@Taure

Description

@Taure

If we have a routing file like:

#{prefix => "",
   security => false,
   routes => [{"/mypath", {module, function}, #{methods => [get]}},
                     {"/mypath/:mypathid", {module, function2}, #{methods => [get]}}]}

Then we do a request to /mypath/ lookup will think we are getting the second one with binding when we should really get the segment with no binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions