Add hyphen to legal token char set
authorScott Cantor <cantor.2@osu.edu>
Tue, 10 Apr 2012 15:22:34 +0000 (15:22 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 10 Apr 2012 15:22:34 +0000 (15:22 +0000)
shibsp/attribute/ExtensibleAttribute.cpp

index d2b372a..41a38a5 100644 (file)
@@ -97,7 +97,7 @@ const vector<string>& ExtensibleAttribute::getSerializedValues() const
             DDF val = m_obj.first().first();
             while (!val.isnull()) {
 
-                static const char* legal="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_.[]";
+                static const char* legal="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_-.[]";
 
                 m_serialized.push_back(string());
                 string& processed = m_serialized.back();