Support opaque and registry URIs (like about:blank).