diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-09-23 13:40:19 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-09-23 13:40:19 +0200 |
commit | c23727e40c6ed13407d0eb291f68a8ffc804e34c (patch) | |
tree | 0ccc07096c3df9fe9c9fb7839477335ee5a59acc | |
parent | 1872cd9c072c03e164659f7902468094f3937783 (diff) | |
download | AntennaPod-c23727e40c6ed13407d0eb291f68a8ffc804e34c.zip |
trim url when preparing it
-rw-r--r-- | src/de/danoeh/antennapod/util/URLChecker.java | 2 |
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"); |