From 598cf4d76005e289969c18ad2b7aed886dd04d66 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Sun, 23 Oct 2005 23:44:02 +0000 Subject: [PATCH] Fixed inheritance of handler definitions. --- shib-target/shib-ini.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shib-target/shib-ini.cpp b/shib-target/shib-ini.cpp index 7f899ce..d3d19d1 100644 --- a/shib-target/shib-ini.cpp +++ b/shib-target/shib-ini.cpp @@ -775,7 +775,9 @@ const IPropertySet* XMLApplication::getHandlerConfig(const char* path) const { string wrap(path); map::const_iterator i=m_handlerMap.find(wrap.substr(0,wrap.find('?'))); - return (i!=m_handlerMap.end()) ? i->second : NULL; + if (i!=m_handlerMap.end()) + return i->second; + return m_base ? m_base->getHandlerConfig(path) : NULL; } ReloadableXMLFileImpl* XMLConfig::newImplementation(const char* pathname, bool first) const -- 2.1.4