fix display_url/display_uri so they handle urls with no host.