mirror of
https://github.com/unraid/webgui.git
synced 2026-05-19 04:39:52 -05:00
Anonymize NGINX_WANIP
This commit is contained in:
@@ -58,7 +58,7 @@ function anonymize($text,$select) {
|
||||
foreach ($rows as &$row) {
|
||||
if (!preg_match($regex, $row)) {
|
||||
$row = preg_replace("/^(\s*\[\S).*(\S\])( => Array)$/","$1..$2$3",$row);
|
||||
$row = preg_replace("/^(\s*\[(cachePool|name|nameOrig|comment|flashGUID|regGUID|regTo|readList|writeList|csrf_token|NGINX_DEFAULTURL|NGINX_CERTNAME|NGINX_LANFQDN|NGINX_WANFQDN)\] => \S).*(\S)$/","$1..$3",$row);
|
||||
$row = preg_replace("/^(\s*\[(cachePool|name|nameOrig|comment|flashGUID|regGUID|regTo|readList|writeList|csrf_token|NGINX_DEFAULTURL|NGINX_CERTNAME|NGINX_LANFQDN|NGINX_WANFQDN|NGINX_WANIP)\] => \S).*(\S)$/","$1..$3",$row);
|
||||
}
|
||||
}
|
||||
return implode("\n", $rows);
|
||||
|
||||
Reference in New Issue
Block a user