Skip to content

Commit 4c043a0

Browse files
committed
Change directive format to strict camel case
1 parent bd45108 commit 4c043a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apache2/apache2_config.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -3703,7 +3703,7 @@ static const char *cmd_cache_transformations(cmd_parms *cmd, void *_dcfg,
37033703
}
37043704

37053705
/**
3706-
* \brief Add SecParseXMLIntoArgs configuration option
3706+
* \brief Add SecParseXmlIntoArgs configuration option
37073707
*
37083708
* \param cmd Pointer to configuration data
37093709
* \param _dcfg Pointer to directory configuration
@@ -3726,7 +3726,7 @@ static const char *cmd_parse_xml_into_args(cmd_parms *cmd, void *_dcfg, const ch
37263726
if (strcasecmp(p1, "on") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_ON; }
37273727
else if (strcasecmp(p1, "off") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_OFF; }
37283728
else if (strcasecmp(p1, "onlyargs") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_ONLYARGS; }
3729-
else return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecParseXMLIntoArgs: %s", p1);
3729+
else return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecParseXmlIntoArgs: %s", p1);
37303730

37313731
return NULL;
37323732
}
@@ -4499,7 +4499,7 @@ const command_rec module_directives[] = {
44994499
),
45004500

45014501
AP_INIT_TAKE1 (
4502-
"SecParseXMLintoArgs",
4502+
"SecParseXmlIntoArgs",
45034503
cmd_parse_xml_into_args,
45044504
NULL,
45054505
CMD_SCOPE_ANY,

0 commit comments

Comments
 (0)