mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 06:01:12 +00:00
Remove spaces from host names
This commit is contained in:
parent
d1d87f8808
commit
2df6cf857d
3 changed files with 3 additions and 3 deletions
|
@ -601,7 +601,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("id", 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());
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -261,7 +261,7 @@ public class FragmentPop extends FragmentBase {
|
|||
else
|
||||
encryption = EmailService.ENCRYPTION_SSL;
|
||||
|
||||
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());
|
||||
|
|
Loading…
Reference in a new issue