diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java index 674ce98a..326cebb4 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java @@ -803,7 +803,7 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared try { String url = (String) value; new URL(url); - if (url.contains(" ") || url.contains("@")) { + if (url.contains(" ")) { throw new Exception(); } } catch (Exception x) { @@ -824,7 +824,7 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared } new URL(url); - if (url.contains(" ") || url.contains("@")) { + if (url.contains(" ")) { throw new Exception(); } } catch (Exception x) { |