Handle redirect URIs even if they have a space in them.

fixing #157