summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-10-29 23:02:46 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-10-30 18:34:04 +0200
commita2c86616360fe51e8d766796bed80e73444823d5 (patch)
tree078cf843280e2021b154a4b5718e31f00e59a3c3 /indra/newview
parent1a7909517368206d54407e54b9332aed1e4c9863 (diff)
viewer#2972 Fix viewer stripping quotes off folder names
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llxmlrpctransaction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp
index 07e2b118d3..7fbcb5fc04 100644
--- a/indra/newview/llxmlrpctransaction.cpp
+++ b/indra/newview/llxmlrpctransaction.cpp
@@ -313,6 +313,8 @@ bool LLXMLRPCTransaction::Impl::process()
if (mHasResponse && !mResponseParsed)
{
LLXMLNodePtr root;
+ bool strip_escaped_strings = LLXMLNode::sStripEscapedStrings;
+ LLXMLNode::sStripEscapedStrings = false;
if (!LLXMLNode::parseBuffer(mResponseText.data(), mResponseText.size(),
root, nullptr))
{
@@ -329,6 +331,7 @@ bool LLXMLRPCTransaction::Impl::process()
LL_WARNS() << "XMLRPC response parsing failed; request URI: "
<< mURI << LL_ENDL;
}
+ LLXMLNode::sStripEscapedStrings = strip_escaped_strings;
mResponseParsed = true;
}