Revert "Add replace() to replace space to %20, Encoding to use space in URL"

This reverts commit baeb7932a23be46b4780b51a1ff8c86f019d3ed2.