summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2007-08-29 00:08:01 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2007-08-29 00:08:01 +0000
commit84ea29c69c320573c7547f028b5325382e195cc6 (patch)
tree5e47596eb66c2feea7ec0375655192d5ae52466e /indra/llmessage
parent6d2c503f6132ed9cdb43f5e0e4e977eff31618a4 (diff)
svn merge -r67650:68653 branches/release-viewer-stats
Branch reviewed by Don. Passed QA buildme this morning. NOTE: This change requires a DB schema upgrade. Upgrade script: indra/upgrade/viewer-stats/redo_viewer_stats
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;
}