Mercurial > repos > other > Puppet
changeset 431:c84f5efa999e
Fix regex compilation
Ruby/Puppet DSL escaping was stripping a layer of backslashes
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Jan 2023 21:01:21 +0000 |
parents | 79e5fed321fa |
children | d05e9281909c |
files | modules/fail2ban/manifests/init.pp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/fail2ban/manifests/init.pp Sun Dec 11 20:27:08 2022 +0000 +++ b/modules/fail2ban/manifests/init.pp Mon Jan 09 21:01:21 2023 +0000 @@ -116,7 +116,7 @@ '([0-9a-z])\2{2,}', 'abused', 'Admin', - '[aA]dministr[a-z0-9\\]+', # administracion, administrador, administradorweb, administrator, administrat\303\266r (escaped ö) etc + '[aA]dministr[a-z0-9\\\\]+', # administracion, administrador, administradorweb, administrator, administrat\303\266r (escaped ö) etc 'admin-?gui', 'adminuser', 'admissions',