From 9690745635728a1672566f83575b98bc6f1d45ab Mon Sep 17 00:00:00 2001 From: Mads Freek Petersen <freek@wayf.dk> Date: Sat, 25 Apr 2009 13:53:30 +0000 Subject: [PATCH] Added newline for xml-challenged cas-client! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1475 44740490-163a-0410-bde0-09ae8108e29a --- modules/casserver/www/serviceValidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/casserver/www/serviceValidate.php b/modules/casserver/www/serviceValidate.php index 23df67a20..4b767ede7 100644 --- a/modules/casserver/www/serviceValidate.php +++ b/modules/casserver/www/serviceValidate.php @@ -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>'; -- GitLab