Url encode path before creating a request object

Closes #3609006

Merge request reports

Loading