aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java4
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 fa2ca340..94c9b7fc 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java
@@ -795,7 +795,7 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared
try {
String url = (String) value;
new URL(url);
- if (url.contains(" ") || url.contains("@") || url.contains("_")) {
+ if (url.contains(" ") || url.contains("@")) {
throw new Exception();
}
} catch (Exception x) {
@@ -816,7 +816,7 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared
}
new URL(url);
- if (url.contains(" ") || url.contains("@") || url.contains("_")) {
+ if (url.contains(" ") || url.contains("@")) {
throw new Exception();
}
} catch (Exception x) {