diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-07-23 19:06:22 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-07-23 19:06:22 +0200 |
commit | c3d25b5106bce1a24032414de598d44f03001ae4 (patch) | |
tree | 49805aca11dc0320b7ee450f7e04fa7dada12d57 /src/de/danoeh/antennapod/util/URLChecker.java | |
parent | 7e2d5a659e8eb871ec75c7257d6ca8d1d42e1b8b (diff) | |
download | AntennaPod-c3d25b5106bce1a24032414de598d44f03001ae4.zip |
Opmlreader is now preparing the xml urls
Diffstat (limited to 'src/de/danoeh/antennapod/util/URLChecker.java')
-rw-r--r-- | src/de/danoeh/antennapod/util/URLChecker.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/util/URLChecker.java b/src/de/danoeh/antennapod/util/URLChecker.java index 7eca63f4a..94a9c276e 100644 --- a/src/de/danoeh/antennapod/util/URLChecker.java +++ b/src/de/danoeh/antennapod/util/URLChecker.java @@ -27,6 +27,9 @@ public final class URLChecker { if (!url.startsWith("http")) { builder.append("http://"); if (AppConfig.DEBUG) Log.d(TAG, "Missing http; appending"); + } else if (url.startsWith("https")) { + if (AppConfig.DEBUG) Log.d(TAG, "Replacing https with http"); + url.replaceFirst("https", "http"); } builder.append(url); |