mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds support to the RESPONSE_PROTOCOL variable
This commit is contained in:
@@ -838,6 +838,7 @@ int Transaction::processResponseHeaders(int code, const std::string& proto) {
|
||||
|
||||
this->m_httpCodeReturned = code;
|
||||
this->m_collections.store("STATUS", std::to_string(code));
|
||||
m_collections.store("RESPONSE_PROTOCOL", proto);
|
||||
|
||||
if (m_rules->secRuleEngine == Rules::DisabledRuleEngine) {
|
||||
#ifndef NO_LOGS
|
||||
|
Reference in New Issue
Block a user