check for whitespace in url