From 19447ce4e1bd1cbb94a1994fecd5011ae4b9e907 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 4 Jul 2019 15:23:43 +0800 Subject: [PATCH] Fix #5911 - issue with password --- widgets/SecurePass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 778d6ab6..8190c7d8 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -179,7 +179,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { return true; } - if ('[\x21-\x7e]*'.match(value)) { + if (value.match(/[\x21-\x7e]*/)) { this.markInvalid(this.errors.PwdBadChar); return false; } -- 2.39.2