From d49e44ac01e8dabcd3561858d04a0b94cc0bd0fe Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 11 Feb 2021 18:41:30 +0100 Subject: [PATCH] System / Access / Tester : convert line end to
characters, it's not very obvious that an attribute like memberof uses "\n" between entries. --- src/www/diag_authentication.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/www/diag_authentication.php b/src/www/diag_authentication.php index f9980239c..7a8bdb29d 100644 --- a/src/www/diag_authentication.php +++ b/src/www/diag_authentication.php @@ -68,6 +68,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { if (is_array($attr_value)) { $attr_value = implode(",", $attr_value); } + $attr_value = str_replace("\n", "
", $attr_value); $savemsg .= "{$attr_name} => {$attr_value}
"; } } else {