diff --git a/indra/newview/llpanellandaudio.cpp b/indra/newview/llpanellandaudio.cpp index d05fbb1e47..0a6eb840ed 100755 --- a/indra/newview/llpanellandaudio.cpp +++ b/indra/newview/llpanellandaudio.cpp @@ -225,6 +225,13 @@ void LLPanelLandAudio::onCommitAny(LLUICtrl*, void *userdata) // Remove leading/trailing whitespace (common when copying/pasting) LLStringUtil::trim(music_url); + // Add leading http:// if not already present + if (!music_url.empty() && music_url.find("://") == std::string::npos) + { + music_url.insert(0, "http://"); + } + // + // Push data into current parcel parcel->setParcelFlag(PF_ALLOW_VOICE_CHAT, voice_enabled); parcel->setParcelFlag(PF_USE_ESTATE_VOICE_CHAN, voice_estate_chan);