mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Rename placeholder type from RULE_PH_TARGET to RULE_PH_SKIPAFTER.
This commit is contained in:
@@ -643,7 +643,7 @@ static const char *add_rule(cmd_parms *cmd, directory_config *dcfg, const char *
|
||||
|
||||
/* shallow copy of original rule with placeholder marked as target */
|
||||
memcpy(phrule, rule, sizeof(msre_rule));
|
||||
phrule->placeholder = RULE_PH_TARGET;
|
||||
phrule->placeholder = RULE_PH_SKIPAFTER;
|
||||
|
||||
/* Add placeholder. */
|
||||
if (msre_ruleset_rule_add(dcfg->ruleset, phrule, phrule->actionset->phase) < 0) {
|
||||
|
Reference in New Issue
Block a user