From 1e89a44f45543484e799e5345295aa14cb1f0d8a Mon Sep 17 00:00:00 2001 From: Testy Date: Thu, 27 Feb 2020 18:37:38 -0400 Subject: [PATCH] Fixed newly introduced bug where only http:// prefixed URLs could only be deleted. --- indra/newview/llpanellandaudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpanellandaudio.cpp b/indra/newview/llpanellandaudio.cpp index 4c17a8476a..a6f320c964 100644 --- a/indra/newview/llpanellandaudio.cpp +++ b/indra/newview/llpanellandaudio.cpp @@ -322,7 +322,7 @@ void LLPanelLandAudio::onBtnStreamDelete() std::string current_url = (*it).asString(); // FIRE-29157 - Stream can't be deleted if onCommitAny() prepended "http://" to the URL since it doesn't match in the list. //if (current_url != music_url) - if (current_url != music_url && !music_url_no_http.empty() && current_url != music_url_no_http) + if (current_url != music_url && !(current_url.find("://") == std::string::npos && current_url == music_url_no_http)) { streamlist_new["audio"].append(current_url); }