From 4c043a0889188dcc8b79b54973a50aa42c8f8e6e Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Mon, 28 Apr 2025 21:05:18 +0200 Subject: [PATCH] Change directive format to strict camel case --- apache2/apache2_config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache2/apache2_config.c b/apache2/apache2_config.c index 8e9d50d5..a831e375 100644 --- a/apache2/apache2_config.c +++ b/apache2/apache2_config.c @@ -3703,7 +3703,7 @@ static const char *cmd_cache_transformations(cmd_parms *cmd, void *_dcfg, } /** -* \brief Add SecParseXMLIntoArgs configuration option +* \brief Add SecParseXmlIntoArgs configuration option * * \param cmd Pointer to configuration data * \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 if (strcasecmp(p1, "on") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_ON; } else if (strcasecmp(p1, "off") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_OFF; } else if (strcasecmp(p1, "onlyargs") == 0) { dcfg->parse_xml_into_args = MSC_XML_ARGS_ONLYARGS; } - else return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecParseXMLIntoArgs: %s", p1); + else return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecParseXmlIntoArgs: %s", p1); return NULL; } @@ -4499,7 +4499,7 @@ const command_rec module_directives[] = { ), AP_INIT_TAKE1 ( - "SecParseXMLintoArgs", + "SecParseXmlIntoArgs", cmd_parse_xml_into_args, NULL, CMD_SCOPE_ANY,