special-case allowance for localhosty URLs, which url-regex rejects.