From 4e0fe69c15bb6c54004b1add2907b30813fc277d Mon Sep 17 00:00:00 2001 From: angela Date: Mon, 8 Feb 2010 14:30:02 +0800 Subject: EXT-4668 Hide URL checkbox is missing from the Sound tab of About Land --- indra/newview/llpanellandaudio.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llpanellandaudio.cpp') diff --git a/indra/newview/llpanellandaudio.cpp b/indra/newview/llpanellandaudio.cpp index 6a4c909759..a92b4357ed 100644 --- a/indra/newview/llpanellandaudio.cpp +++ b/indra/newview/llpanellandaudio.cpp @@ -153,6 +153,13 @@ void LLPanelLandAudio::refresh() mCheckParcelEnableVoice->set(allow_voice); mCheckParcelVoiceLocal->set(!parcel->getParcelFlagUseEstateVoiceChannel()); + // don't display urls if you're not able to change it + // much requested change in forums so people can't 'steal' urls + // NOTE: bug#2009 means this is still vunerable - however, bug + // should be closed since this bug opens up major security issues elsewhere. + bool obscure_music = ! can_change_media && parcel->getObscureMusic(); + + mMusicURLEdit->setDrawAsterixes(obscure_music); mMusicURLEdit->setText(parcel->getMusicURL()); mMusicURLEdit->setEnabled( can_change_media ); } -- cgit v1.2.3