From d57c745d402e182c08007f61967a0731c7f9c46f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 31 Jan 2019 18:01:17 +0100 Subject: hide field password2 as well --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 8209e65..947f0fe 100644 --- a/it.class +++ b/it.class @@ -262,7 +262,7 @@ static function error($p = array()) if ($sendmail) # we're mailing: send maximum info { - $p['title'] = it::replace(['alert:|server:|^: "' => "", '(pw|passw|password|secret)(=)[^&\s]*' => '$1$2*****'], it::match('[^.]*', $GLOBALS['ULTRASITE']) . ": " . $p['title']) . " (via " . getenv('HOSTNAME') . ")"; + $p['title'] = it::replace(['alert:|server:|^: "' => "", '(pw|passw|password\d*|secret)(=)[^&\s]*' => '$1$2*****'], it::match('[^.]*', $GLOBALS['ULTRASITE']) . ": " . $p['title']) . " (via " . getenv('HOSTNAME') . ")"; if (!$p['omitdebuginfo']) { -- cgit v1.2.3