Scaping URL-like strings in links

Hi you all,
I have a model whose one of its attributes has a URL-like string value.
I want to do searches by this URL, so I can have a link pointing at:
where value can be:/

When you are over the link, you can see the link has turned into:

However, when I click on it I get an error:
no route found to match "/sdrs/by/uri//" with

So… is there any method to scape the “/” (and possibly the dots ‘.’)
URI.scape does not make any difference regarding the default behaviour.