(refs #3684, BP from #3220)fixed to parameter is not encoded.
(refs #3684, BP from #3220) modified to use the rawurlencode.
Merge remote-tracking branch 'ama/t-3684' into stable-3.8.x