Typo fix.

Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
This commit is contained in:
Ervin Hegedus 2025-04-26 20:31:43 +02:00 committed by GitHub
parent 321c554965
commit c3ab480979
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -241,7 +241,7 @@ int xml_process_chunk(modsec_rec *msr, const char *buf, unsigned int size, char
msr->txcfg->parse_xml_into_args != MSC_XML_ARGS_ONLYARGS) {
xmlParseChunk(msr->xml->parsing_ctx, buf, size, 0);
if (msr->xml->parsing_ctx->wellFormed != 1) {
*error_msg = apr_psprintf(msr->mp, "XML: Failed parsing document.");
*error_msg = apr_psprintf(msr->mp, "XML: Failed to parse document.");
return -1;
}
}