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