Fix crash with Space in URL