projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
77d569c
)
Shouldn't assume attribute extensibility on XMLObjects.
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 17 Jul 2008 21:02:39 +0000
(21:02 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 17 Jul 2008 21:02:39 +0000
(21:02 +0000)
shibsp/attribute/ScopedAttributeDecoder.cpp
patch
|
blob
|
history
diff --git
a/shibsp/attribute/ScopedAttributeDecoder.cpp
b/shibsp/attribute/ScopedAttributeDecoder.cpp
index
3aadacb
..
2044d6b
100644
(file)
--- a/
shibsp/attribute/ScopedAttributeDecoder.cpp
+++ b/
shibsp/attribute/ScopedAttributeDecoder.cpp
@@
-116,7
+116,7
@@
shibsp::Attribute* ScopedAttributeDecoder::decode(
val = toUTF8((*v)->getTextContent());
if (val && *val) {
const AttributeExtensibleXMLObject* aexo=dynamic_cast<const AttributeExtensibleXMLObject*>(*v);
- xmlscope = aexo
->getAttribute(scopeqname)
;
+ xmlscope = aexo
? aexo->getAttribute(scopeqname) : NULL
;
if (xmlscope && *xmlscope) {
scope = toUTF8(xmlscope);
dest.push_back(pair<string,string>(val,scope));