Fixes #3581

This fixes bug #3581 where routes like ``/pages/**`` were not well routed as HtmlHelper->link() would create links with doubled parameters when we expected to have a link that follows the behaviour described in the documentation:
```
The incoming URL of /pages/the-example-/-and-proof would result in a single passed argument of the-example-/-and-proof
```