From 70988ede9e924960c37cd01797c9a435b557acec Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Thu, 12 Oct 2023 17:02:47 +0200 Subject: SL-20422 Clicking the 'Bring it back' link on Aditi displays a teleport alert --- indra/newview/llurldispatcher.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llurldispatcher.cpp') diff --git a/indra/newview/llurldispatcher.cpp b/indra/newview/llurldispatcher.cpp index 76fb138768..07ea8a4ec6 100644 --- a/indra/newview/llurldispatcher.cpp +++ b/indra/newview/llurldispatcher.cpp @@ -134,6 +134,11 @@ bool LLURLDispatcherImpl::dispatch(const LLSLURL& slurl, LLMediaCtrl* web, bool trusted_browser) { + // SL-20422 : Clicking the "Bring it back" link on Aditi displays a teleport alert + // Stop further processing empty urls like [secondlife:/// Bring it back.] + if (slurl.getType() == LLSLURL::EMPTY) + return true; + const bool right_click = false; return dispatchCore(slurl, nav_type, right_click, web, trusted_browser); } -- cgit v1.2.3