# Problem with dot:Routelink after upgrading to 4.2

**URL:** <https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236>\
**Category:** Discussion in English\
**Created:** [July 25, 2024, 2:44pm UTC](https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236 "2024-07-25T14:44:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dosmac](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/d/edb3f5/32.png) [@Dosmac](https://forum.dotvvm.com/u/Dosmac)\
**Post date:** [July 25, 2024, 2:44pm UTC](https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236/1 "2024-07-25T14:44:16Z")

</div>

Hello,

I am having a problem with how urls appear in my app after I upgraded from 2.0 to 4.2.

Before the upgrade I would have a dot:RouteLink which would render a link like this:  
`https://example.com/jewels/men/ring`  
which would render correctly but now they render like this:  
`https://example.com/jewels%2Fmen%2Fring`

note:  
Using the same `{value: Url}` binding on pure html like so:  
`<a href={value: Url}>` works correctly and that’s what makes it a weird error to me.

It’s a pretty big app so I want to avoid having to refactor my whole code from dot:RouteLink to so any help will be welcome

---

<div class="post-metadata">

**Author:** ![exyi](https://forum.dotvvm.com/user_avatar/forum.dotvvm.com/exyi/32/9_2.png) [@exyi](https://forum.dotvvm.com/u/exyi)\
**Post date:** [August 12, 2024, 11:56am UTC](https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236/2 "2024-08-12T11:56:42Z")

</div>

How exactly do you use the RouteLink? It automatically URL-encodes all parameters; I had no idea v2.0 doesn’t do it, it’s a fairly severe vulnerability…

Anyway, you can use the `UrlSuffix` property instead of `Param-X`, that doesn’t do the URL-encoding.
