mirror of https://github.com/fail2ban/fail2ban
remove pointless quantifier in datepattern
parent
04e8b0ac04
commit
55bf772b05
|
@ -25,4 +25,4 @@ nextcloud-prefix = <nextcloud-prefix-<logging>>
|
|||
# based on https://docs.nextcloud.com/server/27/admin_manual/installation/harden_server.html#setup-a-filter-and-a-jail-for-nextcloud
|
||||
_groupsre = (?:(?:,?\s*"\w+":(?:"(?:[^"\\]|\\.)*"|\w+))*)
|
||||
|
||||
datepattern = ^%(nextcloud-prefix)s?\{%(_groupsre)s,?\s*"time"\s*:\s*"%%Y-%%m-%%d[T ]%%H:%%M:%%S(%%z)?"
|
||||
datepattern = ^%(nextcloud-prefix)s\{%(_groupsre)s,?\s*"time"\s*:\s*"%%Y-%%m-%%d[T ]%%H:%%M:%%S(%%z)?"
|
||||
|
|
Loading…
Reference in New Issue