summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llservicebuilder.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/indra/llmessage/llservicebuilder.cpp b/indra/llmessage/llservicebuilder.cpp
index 806a888b2b..f9195143c6 100644
--- a/indra/llmessage/llservicebuilder.cpp
+++ b/indra/llmessage/llservicebuilder.cpp
@@ -118,16 +118,19 @@ std::string LLServiceBuilder::buildServiceURI(
{
std::string query_str = LLURI::mapToQueryString(
(*option_itr).second);
- if(!query_str.empty())
- {
- service_url.replace(
- find_pos,
- variable_name.length(),
- query_str);
- }
+ service_url.replace(
+ find_pos,
+ variable_name.length(),
+ query_str);
}
}
}
+ if (service_url.find('{') != std::string::npos)
+ {
+ llwarns << "Constructed a likely bogus service URL: " << service_url
+ << llendl;
+ }
+
return service_url;
}