Route resolving: added URL encoding of parameters