Merge pull request #3065 from owasp-modsecurity/revert-3003-v2/mst/empty_action

Revert "Ignore (consistently) empty actions"
This commit is contained in:
Ervin Hegedus
2024-02-07 23:06:26 +01:00
committed by GitHub

View File

@@ -1058,12 +1058,6 @@ int msre_parse_generic(apr_pool_t *mp, const char *text, apr_table_t *vartable,
/* ignore whitespace */
while(isspace(*p)) p++;
if (*p == '\0') return count;
/* ignore empty action */
if (*p == ',') {
p++;
continue;
}
/* we are at the beginning of the name */
name = p;