Handling URLs in autocomplete.