Add the naked URL to the "external website" nag
parent
66b016d629
commit
cfa3e4b07c
|
|
@ -8636,7 +8636,9 @@ class LLPromptShowURL : public view_listener_t
|
||||||
{
|
{
|
||||||
LLSD payload;
|
LLSD payload;
|
||||||
payload["url"] = url;
|
payload["url"] = url;
|
||||||
LLNotificationsUtil::add(alert, LLSD(), payload, callback_show_url);
|
LLSD args;
|
||||||
|
args["UNTRUSTED_URL"] = url;
|
||||||
|
LLNotificationsUtil::add(alert, args, payload, callback_show_url);
|
||||||
}
|
}
|
||||||
// </FS:Ansariel>
|
// </FS:Ansariel>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,9 @@ void LLWeb::loadURLExternal(const std::string& url, bool async, const std::strin
|
||||||
|
|
||||||
LLSD payload;
|
LLSD payload;
|
||||||
payload["url"] = url;
|
payload["url"] = url;
|
||||||
LLNotificationsUtil::add( "WebLaunchExternalTarget", LLSD(), payload, boost::bind(on_load_url_external_response, _1, _2, async));
|
LLSD args;
|
||||||
|
args["UNTRUSTED_URL"] = url;
|
||||||
|
LLNotificationsUtil::add( "WebLaunchExternalTarget", args, payload, boost::bind(on_load_url_external_response, _1, _2, async));
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
|
||||||
|
|
@ -4543,6 +4543,7 @@ Deeding this object will cause the group to:
|
||||||
type="alertmodal">
|
type="alertmodal">
|
||||||
Do you want to open your Web browser to view this content?
|
Do you want to open your Web browser to view this content?
|
||||||
Opening webpages from an unknown source may place your computer at risk.
|
Opening webpages from an unknown source may place your computer at risk.
|
||||||
|
URL : [UNTRUSTED_URL]
|
||||||
<tag>confirm</tag>
|
<tag>confirm</tag>
|
||||||
<usetemplate
|
<usetemplate
|
||||||
ignoretext="Launch my browser to view a web page"
|
ignoretext="Launch my browser to view a web page"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue