URLs as parameters (no route found to match)

Hi,

I have a route that takes a URL as a parameter and I always get an “no
route found to match” error, probably because of the .'s and /'s.

I guess this is a common problem, so what should I do? I there an easy
way to encode the URL properly?

Thanks,
Max