mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds support to the REQUEST_LINE variable
This commit is contained in:
@@ -219,6 +219,9 @@ int Assay::processURI(const char *uri, const char *protocol,
|
||||
|
||||
const char *pos = strchr(m_uri_decoded.c_str(), '?');
|
||||
|
||||
store_variable("REQUEST_LINE", std::string(protocol) + " " +
|
||||
std::string(uri) + " HTTP/" + std::string(http_version));
|
||||
|
||||
std::string path_info;
|
||||
if (pos == NULL) {
|
||||
path_info = std::string(m_uri_decoded, 0);
|
||||
|
Reference in New Issue
Block a user