mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Handle '@' symbol in ssh username
http://youtrack.jetbrains.com/issue/IDEA-123890 Git pull doesn't work if git username has 'at' symbol
This commit is contained in:
@@ -471,7 +471,7 @@ public class SSHMain implements GitExternalApp {
|
||||
}
|
||||
String host = args[i++];
|
||||
String user;
|
||||
int atIndex = host.indexOf('@');
|
||||
int atIndex = host.lastIndexOf('@');
|
||||
if (atIndex == -1) {
|
||||
user = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user