How to handle spaces in URL properly?