Fix urls containing spaces.