diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -240,7 +240,7 @@ static function error($p = array()) if ($sendmail) # we're mailing: send maximum info { - $p['title'] = it::replace(['\.[^:]*' => "", '(alert|server): ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; + $p['title'] = it::replace(['\.[^:]*|alert:|server:|^: "' => "", '(pw|passw|password|secret)(\] => |=)[^&\s]*' => '$1$2*****'], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; if (!$p['omitdebuginfo']) { |