diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-01-11 19:20:34 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-01-11 19:20:34 +0000 |
commit | 727b01f08c793d68981210830815293307337097 (patch) | |
tree | f24e46ba6ab2433ddb6a382a698495e949e1cf7f /cpp/src/qpid/acl | |
parent | dd9365811468be2dbb6bb34f5942bbe87ec4c830 (diff) | |
download | qpid-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.cpp | 2 |
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; } |