diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/activity/SettingsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/activity/SettingsActivity.java b/src/github/daneren2005/dsub/activity/SettingsActivity.java index fc56281e..89d475d3 100644 --- a/src/github/daneren2005/dsub/activity/SettingsActivity.java +++ b/src/github/daneren2005/dsub/activity/SettingsActivity.java @@ -504,7 +504,7 @@ public class SettingsActivity extends PreferenceActivity implements SharedPrefer try { String url = (String) value; new URL(url); - if (!url.equals(url.trim()) || url.contains("@") || url.contains("_")) { + if (url.contains(" ") || url.contains("@") || url.contains("_")) { throw new Exception(); } } catch (Exception x) { |