Revert "Ignore (consistently) empty actions"

This commit is contained in:
Ervin Hegedus
2024-02-07 23:06:16 +01:00
committed by GitHub
parent 821ec3e1bb
commit d778fbf8b7

View File

@@ -1059,12 +1059,6 @@ int msre_parse_generic(apr_pool_t *mp, const char *text, apr_table_t *vartable,
while(isspace(*p)) p++; while(isspace(*p)) p++;
if (*p == '\0') return count; if (*p == '\0') return count;
/* ignore empty action */
if (*p == ',') {
p++;
continue;
}
/* we are at the beginning of the name */ /* we are at the beginning of the name */
name = p; name = p;
while((*p != '\0')&&(*p != '|')&&(*p != ':')&&(*p != ',')&&(!isspace(*p))) p++; /* ENH replace with isvarnamechar() */ while((*p != '\0')&&(*p != '|')&&(*p != ':')&&(*p != ',')&&(!isspace(*p))) p++; /* ENH replace with isvarnamechar() */