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:
- Open the plunkr
- Click on the purple
user({username: 'christopherthielen'}) button.
Observed output: /user/
Expect output: /user