Regexp brain damage

This commit is contained in:
2024-04-24 17:54:09 +02:00
parent 9e5d6380ff
commit ebb8e089d9
2 changed files with 14 additions and 14 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= sssd PORTNAME= sssd
PORTVERSION= 2.9.4 PORTVERSION= 2.9.4
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= security CATEGORIES= security
PKGNAMESUFFIX= 2 PKGNAMESUFFIX= 2

View File

@ -5,21 +5,21 @@
section = session_recording section = session_recording
section_re = ^prompting/password$ section_re = ^prompting/password$
-section_re = ^prompting/password/[^/\@]\+$ -section_re = ^prompting/password/[^/\@]\+$
+section_re = ^prompting/password/[^/\@]+$ +section_re = ^prompting/password/[^/\@]\{1,\}$
section_re = ^prompting/2fa$ section_re = ^prompting/2fa$
-section_re = ^prompting/2fa/[^/\@]\+$ -section_re = ^prompting/2fa/[^/\@]\+$
+section_re = ^prompting/2fa/[^/\@]+$ +section_re = ^prompting/2fa/[^/\@]\{1,\}$
section_re = ^prompting/passkey$ section_re = ^prompting/passkey$
-section_re = ^prompting/passkey/[^/\@]\+$ -section_re = ^prompting/passkey/[^/\@]\+$
-section_re = ^domain/[^/\@]\+$ -section_re = ^domain/[^/\@]\+$
-section_re = ^domain/[^/\@]\+/[^/\@]\+$ -section_re = ^domain/[^/\@]\+/[^/\@]\+$
-section_re = ^application/[^/\@]\+$ -section_re = ^application/[^/\@]\+$
-section_re = ^certmap/[^/\@]\+/[^/\@]\+$ -section_re = ^certmap/[^/\@]\+/[^/\@]\+$
+section_re = ^prompting/passkey/[^/\@]+$ +section_re = ^prompting/passkey/[^/\@]\{1,\}$
+section_re = ^domain/[^/\@]+$ +section_re = ^domain/[^/\@]\{1,\}$
+section_re = ^domain/[^/\@]+/[^/\@]+$ +section_re = ^domain/[^/\@]\{1,\}/[^/\@]\{1,\}$
+section_re = ^application/[^/\@]+$ +section_re = ^application/[^/\@]\{1,\}$
+section_re = ^certmap/[^/\@]+/[^/\@]+$ +section_re = ^certmap/[^/\@]\{1,\}/[^/\@]\{1,\}$
[rule/allowed_sssd_options] [rule/allowed_sssd_options]
@ -28,14 +28,14 @@
[rule/allowed_prompting_password_subsec_options] [rule/allowed_prompting_password_subsec_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^prompting/password/[^/\@]\+$ -section_re = ^prompting/password/[^/\@]\+$
+section_re = ^prompting/password/[^/\@]+$ +section_re = ^prompting/password/[^/\@]\{1,\}$
option = password_prompt option = password_prompt
[rule/allowed_prompting_2fa_subsec_options] [rule/allowed_prompting_2fa_subsec_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^prompting/2fa/[^/\@]\+$ -section_re = ^prompting/2fa/[^/\@]\+$
+section_re = ^prompting/2fa/[^/\@]+$ +section_re = ^prompting/2fa/[^/\@]\{1,\}$
option = single_prompt option = single_prompt
option = first_prompt option = first_prompt
@ -44,7 +44,7 @@
[rule/allowed_prompting_passkey_subsec_options] [rule/allowed_prompting_passkey_subsec_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^prompting/passkey/[^/\@]\+$ -section_re = ^prompting/passkey/[^/\@]\+$
+section_re = ^prompting/passkey/[^/\@]+$ +section_re = ^prompting/passkey/[^/\@]\{1,\}$
option = interactive option = interactive
option = interactive_prompt option = interactive_prompt
@ -53,7 +53,7 @@
[rule/allowed_domain_options] [rule/allowed_domain_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^\(domain\|application\)/[^/]\+$ -section_re = ^\(domain\|application\)/[^/]\+$
+section_re = ^(domain|application)/[^/]+$ +section_re = ^(domain|application)/[^/]\{1,\}$
option = debug option = debug
option = debug_level option = debug_level
@ -62,7 +62,7 @@
[rule/allowed_subdomain_options] [rule/allowed_subdomain_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^domain/[^/\@]\+/[^/\@]\+$ -section_re = ^domain/[^/\@]\+/[^/\@]\+$
+section_re = ^domain/[^/\@]+/[^/\@]+$ +section_re = ^domain/[^/\@]+/[^/\@]\{1,\}$
option = ldap_search_base option = ldap_search_base
option = ldap_user_search_base option = ldap_user_search_base
@ -71,7 +71,7 @@
[rule/allowed_certmap_options] [rule/allowed_certmap_options]
validator = ini_allowed_options validator = ini_allowed_options
-section_re = ^certmap/[^/\@]\+/[^/\@]\+$ -section_re = ^certmap/[^/\@]\+/[^/\@]\+$
+section_re = ^certmap/[^/\@]+/[^/\@]+$ +section_re = ^certmap/[^/\@]+/[^/\@]\{1,\}$
option = matchrule option = matchrule
option = maprule option = maprule