You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2008/09/19 17:44:55 UTC

svn commit: r697136 - /incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp

Author: kpvdr
Date: Fri Sep 19 08:44:55 2008
New Revision: 697136

URL: http://svn.apache.org/viewvc?rev=697136&view=rev
Log:
Added ability to have '@' char in ACL name

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp?rev=697136&r1=697135&r2=697136&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/acl/AclReader.cpp Fri Sep 19 08:44:55 2008
@@ -486,7 +486,7 @@
 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;
 }