summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-20 11:35:46 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-20 11:35:46 +0000
commit8703d6ae3999f4bf7108647899a50bd4966f625e (patch)
tree0f83fd241d6481a27ac725947e231cbaf9d52af6 /cpp/src/IceGrid/ServerCache.cpp
parentFix for bug 1100 (diff)
downloadice-8703d6ae3999f4bf7108647899a50bd4966f625e.tar.bz2
ice-8703d6ae3999f4bf7108647899a50bd4966f625e.tar.xz
ice-8703d6ae3999f4bf7108647899a50bd4966f625e.zip
Fixed bug 1098
Fixed bug where the identity of well-known object wasn't correctly escaped when creating the well-known object proxy. Fixed bug in router stress test (catch ONE)
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.cpp')
-rw-r--r--cpp/src/IceGrid/ServerCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp
index 3f64c713abd..8754d40f179 100644
--- a/cpp/src/IceGrid/ServerCache.cpp
+++ b/cpp/src/IceGrid/ServerCache.cpp
@@ -165,7 +165,7 @@ ServerCache::addCommunicator(const CommunicatorDescriptorPtr& comm, const Server
{
ObjectInfo info;
info.type = r->type;
- info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + "@" + q->id);
+ info.proxy = _communicator->stringToProxy("\"" + _communicator->identityToString(r->id) + "\" @ " + q->id);
_objectCache.add(info, application);
}
@@ -173,7 +173,7 @@ ServerCache::addCommunicator(const CommunicatorDescriptorPtr& comm, const Server
{
ObjectInfo info;
info.type = r->type;
- info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + "@" + q->id);
+ info.proxy = _communicator->stringToProxy("\"" + _communicator->identityToString(r->id) + "\" @ " + q->id);
_allocatableObjectCache.add(info, server);
}
}