Skip to content
Snippets Groups Projects
Commit 96907456 authored by Mads Freek Petersen's avatar Mads Freek Petersen
Browse files

Added newline for xml-challenged cas-client!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1475 44740490-163a-0410-bde0-09ae8108e29a
parent 1e58c77e
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ function returnResponse($value, $content = '', $attributes = array()) {
foreach ($attributes as $attributename => $attributelist) {
$attr = htmlentities($attributename);
foreach ($attributelist as $attributevalue) {
$attributesxml .= "<cas:$attr>" . htmlentities($attributevalue) . "</cas:$attr>";
$attributesxml .= "<cas:$attr>" . htmlentities($attributevalue) . "</cas:$attr>\n";
}
}
if (sizeof($attributes)) $attributesxml = '<cas:attributes>' . $attributesxml . '</cas:attributes>';
......
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