Revert "Fix encoding of special characters in URL"

This reverts commit 82d5718978f7f9157b3d1969df2c9e56865ec2ff.