Now checks for spaces in the URL