summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-01-11 19:20:34 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-01-11 19:20:34 +0000
commit727b01f08c793d68981210830815293307337097 (patch)
treef24e46ba6ab2433ddb6a382a698495e949e1cf7f /cpp/src/qpid/acl
parentdd9365811468be2dbb6bb34f5942bbe87ec4c830 (diff)
downloadqpid-python-727b01f08c793d68981210830815293307337097.tar.gz
This is a fix for QPID-2297
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898016 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/acl')
-rw-r--r--cpp/src/qpid/acl/AclReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/acl/AclReader.cpp b/cpp/src/qpid/acl/AclReader.cpp
index 8f419a6f50..e2bdbc8ad1 100644
--- a/cpp/src/qpid/acl/AclReader.cpp
+++ b/cpp/src/qpid/acl/AclReader.cpp
@@ -522,7 +522,7 @@ void AclReader::printRules() const {
bool AclReader::checkName(const std::string& name) {
for (unsigned i=0; i<name.size(); i++) {
const char ch = name.at(i);
- if (!std::isalnum(ch) && ch != '-' && ch != '_' && ch != '@') return false;
+ if (!std::isalnum(ch) && ch != '-' && ch != '_' && ch != '@' && ch != '.') return false;
}
return true;
}