projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Header and STL fixes.
[shibboleth/cpp-opensaml.git]
/
saml
/
saml2
/
binding
/
impl
/
SAML2RedirectEncoder.cpp
diff --git
a/saml/saml2/binding/impl/SAML2RedirectEncoder.cpp
b/saml/saml2/binding/impl/SAML2RedirectEncoder.cpp
index
104e3bb
..
70e3f5d
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2RedirectEncoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2RedirectEncoder.cpp
@@
-149,7
+149,7
@@
long SAML2RedirectEncoder::encode(
// Generate redirect.
log.debug("message encoded, sending redirect to client");
// Generate redirect.
log.debug("message encoded, sending redirect to client");
- xmlbuf.insert(
0,
1,(strchr(destination,'?') ? '&' : '?'));
+ xmlbuf.insert(
(string::size_type)0,(string::size_type)
1,(strchr(destination,'?') ? '&' : '?'));
xmlbuf.insert(0,destination);
long ret = httpResponse->sendRedirect(xmlbuf.c_str());
xmlbuf.insert(0,destination);
long ret = httpResponse->sendRedirect(xmlbuf.c_str());