rm -rf `find $(distdir)/doc -name CVS`
rm -rf `find $(distdir)/doc -name Makefile`
rm -rf `find $(distdir)/isapi_shib -name CVS`
+ rm -rf `find $(distdir)/isapi_shib_gui -name CVS`
WANT_SUBDIRS = @WANT_SUBDIRS@
char* g_szSHIBConfig = NULL;
char* g_szSchemaDir = NULL;
ShibTargetConfig* g_Config = NULL;
+ string g_unsetHeaderValue;
static const char* g_UserDataKey = "_shib_check_user_";
}
}
virtual void clearHeader(const string &name) {
ap_table_unset(m_req->headers_in, name.c_str());
- ap_table_set(m_req->headers_in, name.c_str(), "");
+ ap_table_set(m_req->headers_in, name.c_str(), g_unsetHeaderValue.c_str());
}
virtual void setHeader(const string &name, const string &value) {
ap_table_set(m_req->headers_in, name.c_str(), value.c_str());
ap_log_error(APLOG_MARK,APLOG_CRIT|APLOG_NOERRNO,SH_AP_R(s),"shib_child_init() failed to load configuration");
exit(1);
}
+
+ IConfig* conf=g_Config->getINI();
+ Locker locker(conf);
+ const IPropertySet* props=conf->getPropertySet("Local");
+ if (props) {
+ pair<bool,const char*> unsetValue=props->getString("unsetHeaderValue");
+ if (unsetValue.first)
+ g_unsetHeaderValue = unsetValue.second;
+ }
}
catch (...) {
ap_log_error(APLOG_MARK,APLOG_CRIT|APLOG_NOERRNO,SH_AP_R(s),"shib_child_init() failed to initialize system");
Name: shibboleth
Summary: Open source system to enable inter-institutional resource sharing
Version: @-VERSION-@
-Release: 9
+Release: 10
#Copyright: Internet2
Group: System Environment/Libraries
License: Apache style
%{_sysconfdir}/selinux/targeted/src/policy/domains/program/*.te
%changelog
+* Wed Jun 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-10
+- Applied fix for sec 20060615
+
* Fri Apr 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-9
- Misc. patches, SuSE, Apache 2.2, gcc 4.1, and 64-bit support