Route parameter url encoding added

General fix, in particular resolves issue #3610