https://issues.shibboleth.net/jira/browse/SSPCPP-195
authorScott Cantor <cantor.2@osu.edu>
Mon, 20 Sep 2010 16:20:27 +0000 (16:20 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 20 Sep 2010 16:20:27 +0000 (16:20 +0000)
shibsp/handler/impl/RemotedHandler.cpp

index 6a6db3a..e7ca6d7 100644 (file)
@@ -263,7 +263,7 @@ DDF RemotedHandler::wrap(const SPRequest& request, const vector<string>* headers
         for (vector<string>::const_iterator h = headers->begin(); h!=headers->end(); ++h) {
             hdr = request.getHeader(h->c_str());
             if (!hdr.empty())
-                hin.addmember(h->c_str()).string(hdr.c_str());
+                hin.addmember(h->c_str()).unsafe_string(hdr.c_str());
         }
     }