Skip to content

Commit f2de578

Browse files
authored
Merge pull request #3065 from owasp-modsecurity/revert-3003-v2/mst/empty_action
Revert "Ignore (consistently) empty actions"
2 parents 821ec3e + d778fbf commit f2de578

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

apache2/re.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,12 +1058,6 @@ int msre_parse_generic(apr_pool_t *mp, const char *text, apr_table_t *vartable,
10581058
/* ignore whitespace */
10591059
while(isspace(*p)) p++;
10601060
if (*p == '\0') return count;
1061-
1062-
/* ignore empty action */
1063-
if (*p == ',') {
1064-
p++;
1065-
continue;
1066-
}
10671061

10681062
/* we are at the beginning of the name */
10691063
name = p;

0 commit comments

Comments
 (0)