Remove spaces from host names

This commit is contained in:
M66B
2020-10-11 21:34:31 +02:00
parent d1d87f8808
commit 2df6cf857d
3 changed files with 3 additions and 3 deletions

View File

@@ -600,7 +600,7 @@ public class FragmentIdentity extends FragmentBase {
args.putBoolean("unicode", cbUnicode.isChecked());
args.putString("max_size", etMaxSize.getText().toString());
args.putLong("account", account == null ? -1 : account.id);
args.putString("host", etHost.getText().toString().trim());
args.putString("host", etHost.getText().toString().trim().replace(" ", ""));
args.putInt("encryption", encryption);
args.putBoolean("insecure", cbInsecure.isChecked());
args.putString("port", etPort.getText().toString());