mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-05 13:27:09 +01:00
Trimming 'pcast:' without '//'
Fixes #2284 (subscribtion through podlove 'Let device decide')
This commit is contained in:
parent
09fc0debf1
commit
a01f0b1b7a
@ -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
Block a user