Skip to content
Snippets Groups Projects
Commit ed20e581 authored by Olav Morken's avatar Olav Morken
Browse files

SAML2:LogoutResponse - Escape InResponseTo value in response data.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@117 44740490-163a-0410-bde0-09ae8108e29a
parent 2389e0fd
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ class SimpleSAML_XML_SAML20_LogoutResponse { ...@@ -114,7 +114,7 @@ class SimpleSAML_XML_SAML20_LogoutResponse {
$destination = $receivermd['SingleLogoutService']; $destination = $receivermd['SingleLogoutService'];
$samlResponse = '<samlp:LogoutResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" $samlResponse = '<samlp:LogoutResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
ID="_' . $id . '" Version="2.0" IssueInstant="' . $issueInstant . '" Destination="'. $destination. '" InResponseTo="' . $inresponseto . '"> ID="_' . $id . '" Version="2.0" IssueInstant="' . $issueInstant . '" Destination="'. $destination. '" InResponseTo="' . htmlspecialchars($inresponseto) . '">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">' . $issuer . '</saml:Issuer> <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">' . $issuer . '</saml:Issuer>
<samlp:Status xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"> <samlp:Status xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
<samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" <samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment