diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 566cae0e7b..8f9a2be345 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2633,7 +2633,10 @@ void LLTextEditor::updateLinkSegments() // if the link's label (what the user can edit) is a valid Url, // then update the link's HREF to be the same as the label text. // This lets users edit Urls in-place. - if (LLUrlRegistry::instance().hasUrl(url_label)) + // FIRE-20054: Only update link's HREF to label text if the user can edit the text + //if (LLUrlRegistry::instance().hasUrl(url_label)) + if (LLUrlRegistry::instance().hasUrl(url_label) && !getReadOnly()) + // { std::string new_url = wstring_to_utf8str(url_label); LLStringUtil::trim(new_url);