diff options
| author | simon <none@none> | 2014-01-09 10:56:44 -0800 |
|---|---|---|
| committer | simon <none@none> | 2014-01-09 10:56:44 -0800 |
| commit | ade7faae5802c1e68bb2b09ba9e126bbfa2cfb37 (patch) | |
| tree | 75176cac336eb01344aa8b75e8763178c23e4e22 /indra/newview/llurldispatcher.cpp | |
| parent | e89bda2586a8f6054b3822900aaaedf5c6934b75 (diff) | |
| parent | 6b4a35723006b7dec25b7f0677b0dae8ce88008c (diff) | |
Merge downstream -bear
Diffstat (limited to 'indra/newview/llurldispatcher.cpp')
| -rwxr-xr-x | indra/newview/llurldispatcher.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llurldispatcher.cpp b/indra/newview/llurldispatcher.cpp index 0c34db39b5..6e8ee38a2f 100755 --- a/indra/newview/llurldispatcher.cpp +++ b/indra/newview/llurldispatcher.cpp @@ -307,7 +307,9 @@ bool LLURLDispatcher::dispatchRightClick(const std::string& slurl) } // static -bool LLURLDispatcher::dispatchFromTextEditor(const std::string& slurl, bool trusted_content) +// MAINT-535 reversion test +// bool LLURLDispatcher::dispatchFromTextEditor(const std::string& slurl, bool trusted_content) +bool LLURLDispatcher::dispatchFromTextEditor(const std::string& slurl) { // *NOTE: Text editors are considered sources of trusted URLs // in order to make avatar profile links in chat history work. @@ -315,9 +317,13 @@ bool LLURLDispatcher::dispatchFromTextEditor(const std::string& slurl, bool trus // receiving resident will see it and must affirmatively // click on it. // *TODO: Make this trust model more refined. JC + const bool trusted_browser = true; LLMediaCtrl* web = NULL; - return LLURLDispatcherImpl::dispatch(LLSLURL(slurl), "clicked", web, trusted_content); + return LLURLDispatcherImpl::dispatch(LLSLURL(slurl), "clicked", web, trusted_browser); + + // MAINT-535 reversion test + //return LLURLDispatcherImpl::dispatch(LLSLURL(slurl), "clicked", web, trusted_content); } |
