[cpp-sp COMMIT] /branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Thu May 16 14:01:47 EDT 2013
Author: scantor
Date: Thu May 16 14:01:47 2013
New Revision: 3848
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3848&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-543
Modified:
branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
Modified: branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp?rev=3848&r1=3847&r2=3848&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp (original)
+++ branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp Thu May 16 14:01:47 2013
@@ -310,7 +310,7 @@
if (request && request->startLangMatching()) {
do {
for (vector<Logo*>::const_iterator i = logos.begin(); i != logos.end(); ++i) {
- if (request->matchLang((*i)->getLang())) {
+ if (!(*i)->getLang() || request->matchLang((*i)->getLang())) {
sizediff = 0;
if (h > 0) {
dim = (*i)->getHeight();
More information about the commits
mailing list