Fix incorrect params when path includes encoded slash.

ref #1391

I think that should not decode the encoded slash.