#include <shibsp/exceptions.h>
#include <shibsp/SPRequest.h>
-#ifndef SHIBSP_LITE
-# include <saml/util/CGIParser.h>
-#else
-# include <shibsp/lite/CGIParser.h>
-#endif
+#include <shibsp/util/CGIParser.h>
namespace shibsp {
void* m_log; // declared void* to avoid log4cpp header conflicts in Apache
mutable std::string m_handlerURL;
mutable std::map<std::string,std::string> m_cookieMap;
- mutable opensaml::CGIParser* m_parser;
+ mutable CGIParser* m_parser;
};
#if defined (_MSC_VER)
handler/SessionInitiator.h
liteinclude_HEADERS = \
- lite/CGIParser.h \
lite/CommonDomainCookie.h \
lite/SAMLConstants.h
security/SecurityPolicy.h
utilinclude_HEADERS = \
+ util/CGIParser.h \
util/DOMPropertySet.h \
util/PropertySet.h \
util/SPConstants.h \
remoting/impl/SocketListener.cpp \
remoting/impl/TCPListener.cpp \
remoting/impl/UnixListener.cpp \
+ util/CGIParser.cpp \
util/DOMPropertySet.cpp \
util/SPConstants.cpp \
util/TemplateParameters.cpp
libshibsp_lite_la_SOURCES = \
${common_sources} \
impl/RemotedSessionCache.cpp \
- lite/CGIParser.cpp \
lite/CommonDomainCookie.cpp \
lite/SAMLConstants.cpp
#include <xmltooling/unicode.h>
#ifndef SHIBSP_LITE
-# include <saml/util/CGIParser.h>
+# include "util/CGIParser.h"
# include <xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp>
# include <xsec/enc/XSECCryptoException.hpp>
# include <xsec/framework/XSECException.hpp>
Name="util"\r
>\r
<File\r
+ RelativePath=".\util\CGIParser.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\util\DOMPropertySet.cpp"\r
>\r
</File>\r
Name="lite"\r
>\r
<File\r
- RelativePath=".\lite\CGIParser.cpp"\r
- >\r
- </File>\r
- <File\r
RelativePath=".\lite\CommonDomainCookie.cpp"\r
>\r
</File>\r
Name="util"\r
>\r
<File\r
+ RelativePath=".\util\CGIParser.h"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\util\DOMPropertySet.h"\r
>\r
</File>\r
Name="lite"\r
>\r
<File\r
- RelativePath=".\lite\CGIParser.h"\r
- >\r
- </File>\r
- <File\r
RelativePath=".\lite\CommonDomainCookie.h"\r
>\r
</File>\r
Name="util"\r
>\r
<File\r
+ RelativePath=".\util\CGIParser.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\util\DOMPropertySet.cpp"\r
>\r
</File>\r
Name="util"\r
>\r
<File\r
+ RelativePath=".\util\CGIParser.h"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\util\DOMPropertySet.h"\r
>\r
</File>\r
*/
#include "internal.h"
-#include "lite/CGIParser.h"
+#include "util/CGIParser.h"
#include <xmltooling/XMLToolingConfig.h>
#include <xmltooling/util/URLEncoder.h>
-using namespace opensaml;
+using namespace shibsp;
using namespace xmltooling;
using namespace std;
*/
/**
- * @file shibsp/lite/CGIParser.h
+ * @file shibsp/util/CGIParser.h
*
* CGI GET/POST parameter parsing
*/
#include <shibsp/base.h>
#include <xmltooling/io/HTTPRequest.h>
-namespace opensaml {
+namespace shibsp {
#if defined (_MSC_VER)
#pragma warning( push )
std::pair<walker,walker> getParameters(const char* name) const;
private:
- char* fmakeword(char stop, unsigned int *cl, const char** ppch);
+ char* fmakeword(char stop, size_t *cl, const char** ppch);
char* makeword(char *line, char stop);
void plustospace(char *str);