diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-14 16:02:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 16:02:09 +0200 |
commit | 571ac6f1d115a7ae36516f06c16d6524e761241b (patch) | |
tree | bf265ed9525b0982d58981735d1f6e1723a7601e | |
parent | f29c8102848e27309273f5047c18bf8997db5c19 (diff) | |
parent | 458a7f7d72ffc020c8c4d3b377db7cb97ac18336 (diff) | |
download | AntennaPod-571ac6f1d115a7ae36516f06c16d6524e761241b.zip |
Merge pull request #4147 from jmdouglas/develop
Fix http search
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java index 046a39355..546684f14 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java @@ -98,7 +98,7 @@ public class AddFeedFragment extends Fragment { private void performSearch() { String query = combinedFeedSearchBox.getText().toString(); - if (query.startsWith("http")) { + if (query.matches("http[s]?://.*")) { addUrl(query); return; } |