Dealing with malformed URL.