diff options
author | Simon Rettberg | 2017-11-03 13:24:45 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-03 13:24:45 +0100 |
commit | dc22b38362539df9ee59f172273653cd94a3dfd6 (patch) | |
tree | 7e4df85772f73f26de76403a27b2ef739bfe45be /modules-available | |
parent | [dnbd3] Add reboot button for managed proxies (diff) | |
download | slx-admin-dc22b38362539df9ee59f172273653cd94a3dfd6.tar.gz slx-admin-dc22b38362539df9ee59f172273653cd94a3dfd6.tar.xz slx-admin-dc22b38362539df9ee59f172273653cd94a3dfd6.zip |
[baseconfig] Don't leak content of overridden vars in api output
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/baseconfig/api.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/baseconfig/api.inc.php b/modules-available/baseconfig/api.inc.php index 6e985050..64204774 100644 --- a/modules-available/baseconfig/api.inc.php +++ b/modules-available/baseconfig/api.inc.php @@ -75,7 +75,7 @@ class ConfigHolder if ($pos == 0) { echo " <disabled>\n"; } else { - echo ': ', str_replace(array("\r", "\n"), array('\r', '\n'), $item['value']), "\n"; + echo " <overridden>\n"; } continue; } |