https://bugs.internet2.edu/jira/browse/SSPCPP-195
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 20 Sep 2010 16:20:27 +0000 (16:20 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 20 Sep 2010 16:20:27 +0000 (16:20 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3327 cb58f699-b61c-0410-a6fe-9272a202ed29

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());
         }
     }