mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
auth tester, fix missing escape in diag_authentication.php
This commit is contained in:
parent
1ddeeca108
commit
3e7aaee902
@ -68,8 +68,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if (is_array($attr_value)) {
|
||||
$attr_value = implode(",", $attr_value);
|
||||
}
|
||||
$attr_value = str_replace("\n", "<br/>", $attr_value);
|
||||
$savemsg .= "{$attr_name} => {$attr_value}<br/>";
|
||||
$attr_value = str_replace("\n", "<br/>", htmlspecialchars($attr_value));
|
||||
$savemsg .= htmlspecialchars($attr_name) . " => {$attr_value}<br/>";
|
||||
}
|
||||
} else {
|
||||
$input_errors[] = gettext("Authentication failed.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user