[cpp-sp COMMIT] /branches/REL_2/shibsp/Application.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Fri Apr 6 19:18:36 BST 2012
Author: scantor
Date: Fri Apr 6 19:18:36 2012
New Revision: 3612
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3612&view=rev
Log:
Check for malformed header names when clearing
Modified:
branches/REL_2/shibsp/Application.cpp
Modified: branches/REL_2/shibsp/Application.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/Application.cpp?rev=3612&r1=3611&r2=3612&view=diff
==============================================================================
--- branches/REL_2/shibsp/Application.cpp (original)
+++ branches/REL_2/shibsp/Application.cpp Fri Apr 6 19:18:36 2012
@@ -131,7 +131,7 @@
out = getServiceProvider().getListenerService()->send(in);
if (out.islist()) {
DDF header = out.first();
- while (header.isstring()) {
+ while (header.name() && header.isstring()) {
m_unsetHeaders.push_back(pair<string,string>(header.name(),header.string()));
header = out.next();
}
More information about the commits
mailing list