Skip to content

Commit bf707de

Browse files
committed
Change directive format to strict camel case
1 parent 0b62b7e commit bf707de

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/actions/ctl/parse_xml_into_args.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bool ParseXmlIntoArgs::init(std::string *error) {
4747

4848
bool ParseXmlIntoArgs::evaluate(RuleWithActions *rule, Transaction *transaction) {
4949
std::stringstream a;
50-
a << "Setting SecParseXMLIntoArgs to ";
50+
a << "Setting SecParseXmlIntoArgs to ";
5151
a << modsecurity::RulesSetProperties::configXMLParseXmlIntoArgsString(m_secXMLParseXmlIntoArgs);
5252
a << " as requested by a ctl:parseXmlIntoArgs action";
5353

src/parser/seclang-scanner.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ACTION_CTL_BDY_JSON (?i:ctl:requestBodyProcessor=JSO
9090
ACTION_CTL_BDY_XML (?i:ctl:requestBodyProcessor=XML)
9191
ACTION_CTL_BDY_URLENCODED (?i:ctl:requestBodyProcessor=URLENCODED)
9292
ACTION_CTL_FORCE_REQ_BODY_VAR (?i:ctl:forceRequestBodyVariable)
93-
ACTION_CTL_PARSE_XML_INTO_ARGS (?i:ctl:parseXMLintoArgs)
93+
ACTION_CTL_PARSE_XML_INTO_ARGS (?i:ctl:parseXmlIntoArgs)
9494
ACTION_CTL_REQUEST_BODY_ACCESS (?i:ctl:requestBodyAccess)
9595
ACTION_CTL_RULE_ENGINE (?i:ctl:ruleEngine)
9696
ACTION_CTL_RULE_REMOVE_BY_TAG (?i:ctl:ruleRemoveByTag)
@@ -412,7 +412,7 @@ CONFIG_VALUE_RELEVANT_ONLY (?i:RelevantOnly)
412412
CONFIG_VALUE_SERIAL (?i:Serial)
413413
CONFIG_VALUE_WARN (?i:Warn)
414414
CONFIG_XML_EXTERNAL_ENTITY (?i:SecXmlExternalEntity)
415-
CONFIG_XML_PARSE_XML_INTO_ARGS (?i:SecParseXMLIntoArgs)
415+
CONFIG_XML_PARSE_XML_INTO_ARGS (?i:SecParseXmlIntoArgs)
416416
CONGIG_DIR_RESPONSE_BODY_MP (?i:SecResponseBodyMimeType)
417417
CONGIG_DIR_RESPONSE_BODY_MP_CLEAR (?i:SecResponseBodyMimeTypesClear)
418418
CONGIG_DIR_SEC_ARG_SEP (?i:SecArgumentSeparator)

src/request_body_processor/xml.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bool XML::init() {
170170
m_transaction->m_secXMLParseXmlIntoArgs
171171
== RulesSetProperties::OnlyArgsConfigXMLParseXmlIntoArgs) {
172172
ms_dbg_a(m_transaction, 9,
173-
"XML: SecParseXMLIntoArgs is set to " \
173+
"XML: SecParseXmlIntoArgs is set to " \
174174
+ RulesSetProperties::configXMLParseXmlIntoArgsString(static_cast<RulesSetProperties::ConfigXMLParseXmlIntoArgs>(m_transaction->m_secXMLParseXmlIntoArgs)));
175175
m_data.sax_handler = std::make_unique<xmlSAXHandler>();
176176
memset(m_data.sax_handler.get(), 0, sizeof(xmlSAXHandler));

0 commit comments

Comments
 (0)