aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp
index afbff65..6d1ee28 100644
--- a/linden/indra/newview/llwebbrowserctrl.cpp
+++ b/linden/indra/newview/llwebbrowserctrl.cpp
@@ -251,8 +251,16 @@ void LLWebBrowserCtrl::navigateTo( std::string urlIn )
251 251
252 // don't browse to anything that starts with secondlife:// 252 // don't browse to anything that starts with secondlife://
253 if ( urlIn.length() >= protocol.length() ) 253 if ( urlIn.length() >= protocol.length() )
254 {
254 if ( LLString::compareInsensitive( urlIn.substr( 0, protocol.length() ).c_str(), protocol.c_str() ) != 0 ) 255 if ( LLString::compareInsensitive( urlIn.substr( 0, protocol.length() ).c_str(), protocol.c_str() ) != 0 )
256 {
255 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn ); 257 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn );
258 }
259 }
260 else
261 {
262 LLMozLib::getInstance()->navigateTo( mEmbeddedBrowserWindowId, urlIn );
263 }
256} 264}
257 265
258//////////////////////////////////////////////////////////////////////////////// 266////////////////////////////////////////////////////////////////////////////////