Skip to content

Segfault when trying to GET /foo/bar/ without .StripTrailingSlash() #222

Closed
@wienski

Description

@wienski

The setup:
GET routed on /foo/bar and /foo/bar/:param,
trying to GET /foo/bar/.

This results in a segfault in router.go.

Calling (*echo.Echo).StripTrailingSlash() seems to suffice as a workaround.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions