summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-08-23 14:51:12 +0000
committerGordon Sim <gsim@apache.org>2010-08-23 14:51:12 +0000
commit601575a8ba6fda94da8542d9a1da18fdafecbf1d (patch)
tree5602c07d5a7de8c8a0ef3c92f11588849813a5e4 /qpid/cpp/src
parent01bef6c9c96fdbf625c2f36424087b8cd8b875ae (diff)
downloadqpid-python-601575a8ba6fda94da8542d9a1da18fdafecbf1d.tar.gz
QPID-664: allow the key in options map for an address to be quoted
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@988138 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/messaging/AddressParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/messaging/AddressParser.cpp b/qpid/cpp/src/qpid/messaging/AddressParser.cpp
index 6fe2f6df36..b6d5f764cf 100644
--- a/qpid/cpp/src/qpid/messaging/AddressParser.cpp
+++ b/qpid/cpp/src/qpid/messaging/AddressParser.cpp
@@ -134,7 +134,7 @@ bool AddressParser::readKeyValuePair(Variant::Map& map)
bool AddressParser::readKey(std::string& key)
{
- return readWord(key);
+ return readWord(key) || readQuotedString(key);
}
bool AddressParser::readValue(Variant& value)