Fixed problems occuring when changing user in gerrit configuration
Bug: 399238 Change-Id: I255634bc9b3681f292190051daed22a4771d6e57 Signed-off-by: Tobias Pfeifer <to.pfeifer@sap.com>
This commit is contained in:
parent
dcddaa943e
commit
2c40482d0f
|
@ -614,7 +614,7 @@ private String format(final boolean includePassword, boolean escapeNonAscii) {
|
|||
}
|
||||
|
||||
if (getHost() != null) {
|
||||
if (getUser() != null)
|
||||
if (getUser() != null && getUser().length() > 0)
|
||||
r.append('@');
|
||||
r.append(escape(getHost(), false, escapeNonAscii));
|
||||
if (getScheme() != null && getPort() > 0) {
|
||||
|
|
Loading…
Reference in New Issue