Merge pull request #2299 from ByteHamster/fix-podlove
Trimming 'pcast:' without '//'
This commit is contained in:
commit
d6b67b5969
|
@ -37,6 +37,9 @@ public final class URLChecker {
|
|||
} else if (url.startsWith("pcast://")) {
|
||||
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast://");
|
||||
return prepareURL(url.substring("pcast://".length()));
|
||||
} else if (url.startsWith("pcast:")) {
|
||||
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast:");
|
||||
return prepareURL(url.substring("pcast:".length()));
|
||||
} else if (url.startsWith("itpc")) {
|
||||
if (BuildConfig.DEBUG) Log.d(TAG, "Replacing itpc:// with http://");
|
||||
return url.replaceFirst("itpc://", "http://");
|
||||
|
|
Loading…
Reference in New Issue