Skip to content

normalized_path may be wrong if the path matches many potential routes #316

@dustinbyrne

Description

@dustinbyrne

E.g. given the following routes.rb:

get 'api/users'
get ':team_slug/users'

It appears possible for a call to /api/users to return a normalized path of /:team_slug/users incorrectly when the path matches the route definition.

https://github.com/getappmap/appmap-ruby/blob/master/lib/appmap/handler/rails/request_handler.rb#L59-L66

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions