summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/util/URLChecker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/danoeh/antennapod/util/URLChecker.java')
-rw-r--r--src/de/danoeh/antennapod/util/URLChecker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/util/URLChecker.java b/src/de/danoeh/antennapod/util/URLChecker.java
index 62cbfc7e9..8729990f9 100644
--- a/src/de/danoeh/antennapod/util/URLChecker.java
+++ b/src/de/danoeh/antennapod/util/URLChecker.java
@@ -23,7 +23,7 @@ public final class URLChecker {
* */
public static String prepareURL(String url) {
StringBuilder builder = new StringBuilder();
-
+ url = url.trim();
if (!url.startsWith("http")) {
builder.append("http://");
if (AppConfig.DEBUG) Log.d(TAG, "Missing http; appending");