mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GitHttpGuiAuthenticator: fix a misprint: place login after scheme
This commit is contained in:
@@ -267,7 +267,7 @@ class GitHttpGuiAuthenticator implements GitHttpAuthenticator {
|
||||
}
|
||||
Couple<String> pair = UriUtil.splitScheme(url);
|
||||
String scheme = pair.getFirst();
|
||||
if (StringUtil.isEmpty(scheme)) {
|
||||
if (!StringUtil.isEmpty(scheme)) {
|
||||
return scheme + URLUtil.SCHEME_SEPARATOR + login + "@" + pair.getSecond();
|
||||
}
|
||||
return login + "@" + url;
|
||||
|
||||
Reference in New Issue
Block a user