hostname stripped from URI when looking up username
Issue generated from Tuleap's migration script. Originally submitted by: Adrien Béraud (adrienberaud)
When using the Gnome client, looking up for a name with a hostname specified makes a request to the default hostname instead of the specified hostname.
For instance, when the user enters the name "test@example.com",
the daemon API call will be:
lookupName('', '', 'test')
While it should be:
lookupName('account_id', '', 'test@example.com')