Skip to content

Slash is not removed for squash:true when optional param terminates the url #1902

Closed
@JakobJingleheimer

Description

@JakobJingleheimer

In @christopherthielen's plunkr example from #1501, :username's slash is not removed when it is squashed. The documented behaviour for squash: true is that the optional parameter plus a slash are removed.

Reprod:

  1. Open the plunkr
  2. Click on the purple user({username: 'christopherthielen'}) button.

Observed output: /user/
Expect output: /user

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