summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-09-30 17:56:21 +0000
committerMark Spruiell <mes@zeroc.com>2002-09-30 17:56:21 +0000
commit44b4fa6eae618d8b53f217ac4188bc5aedc3b317 (patch)
tree69176813c9cf10fc6d8faa697d2b76c12c68e156 /cpp/src
parentfixing trace indentation (diff)
downloadice-44b4fa6eae618d8b53f217ac4188bc5aedc3b317.tar.bz2
ice-44b4fa6eae618d8b53f217ac4188bc5aedc3b317.tar.xz
ice-44b4fa6eae618d8b53f217ac4188bc5aedc3b317.zip
encode facet components
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Exception.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 170d9084c12..b2844f75c05 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -13,6 +13,7 @@
#include <Ice/Network.h>
#include <Ice/Stream.h>
#include <Ice/IdentityUtil.h>
+#include <Ice/StringUtil.h>
#include <Ice/Plugin.h>
using namespace std;
@@ -136,10 +137,7 @@ printFailedRequestData(ostream& out, const RequestFailedException& ex)
vector<string>::const_iterator p = ex.facet.begin();
while(p != ex.facet.end())
{
- //
- // TODO: Escape for whitespace and slashes.
- //
- out << *p++;
+ out << encodeString(*p++, "/");
if(p != ex.facet.end())
{
out << '/';