aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
index 0e69ac8f..efbbb1f2 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SettingsActivity.java
@@ -268,7 +268,7 @@ public class SettingsActivity extends PreferenceActivity implements SharedPrefer
try {
String url = (String) value;
new URL(url);
- if (!url.equals(url.trim()) || url.contains("@")) {
+ if (!url.equals(url.trim()) || url.contains("@") || url.contains("_")) {
throw new Exception();
}
} catch (Exception x) {