By looking at the code of ExtractUriFromInternetIdentifier method I noticed that you want to support port within identifier too. However that doesn't seem to work well if domain is onion. See the example here
So for value test@nakamoto.onion:4000 the URI ends up being HTTP.
By looking at the code of ExtractUriFromInternetIdentifier method I noticed that you want to support port within identifier too. However that doesn't seem to work well if domain is onion. See the example here
So for value test@nakamoto.onion:4000 the URI ends up being HTTP.