From aa551d592a837900cfd7c78d37fa816c64db2e9f Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 29 Apr 2021 20:35:10 +0200 Subject: [PATCH] Remove spaces from host name --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index 93d87f0d09..eaffae116d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -799,7 +799,7 @@ public class FragmentAccount 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());