diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2008-09-19 15:44:55 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2008-09-19 15:44:55 +0000 |
| commit | 3f8a7a0df1dd42496cd59747e58b955ae9c40446 (patch) | |
| tree | baa9bb40e21fbd49563c685b98cc555949c9d0d7 /qpid/cpp/src | |
| parent | 3c2f204cb75b62ab0cd202f898558123637d45bf (diff) | |
| download | qpid-python-3f8a7a0df1dd42496cd59747e58b955ae9c40446.tar.gz | |
Added ability to have '@' char in ACL name
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/acl/AclReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/acl/AclReader.cpp b/qpid/cpp/src/qpid/acl/AclReader.cpp index e8828a55bb..ee29426a25 100644 --- a/qpid/cpp/src/qpid/acl/AclReader.cpp +++ b/qpid/cpp/src/qpid/acl/AclReader.cpp @@ -486,7 +486,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 != '_') return false; + if (!std::isalnum(ch) && ch != '-' && ch != '_' && ch != '@') return false; } return true; } |
