diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-10-22 12:47:16 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-10-22 12:47:16 +0300 |
commit | 28339afa157956d6ae4e68d0f8ce4eee6a254cfe (patch) | |
tree | d176514abec3322c339753dac231c617259a11a3 /indra/llui/llurlaction.cpp | |
parent | 62a0ba3db4685e5572b05d4921e2fe9974af2ba7 (diff) |
MAINT-535 'trust model' is added for secondlife:// URLs in wiki style links. Chat history is marked as untrusted source now.
Diffstat (limited to 'indra/llui/llurlaction.cpp')
-rwxr-xr-x | indra/llui/llurlaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llurlaction.cpp b/indra/llui/llurlaction.cpp index 23e574cb74..12537d9dd1 100755 --- a/indra/llui/llurlaction.cpp +++ b/indra/llui/llurlaction.cpp @@ -87,14 +87,14 @@ void LLUrlAction::executeSLURL(std::string url) { if (sExecuteSLURLCallback) { - sExecuteSLURLCallback(url); + sExecuteSLURLCallback(url ,true); } } -void LLUrlAction::clickAction(std::string url) +void LLUrlAction::clickAction(std::string url, bool trusted_content) { // Try to handle as SLURL first, then http Url - if ( (sExecuteSLURLCallback) && !sExecuteSLURLCallback(url) ) + if ( (sExecuteSLURLCallback) && !sExecuteSLURLCallback(url, trusted_content) ) { if (sOpenURLCallback) { |