mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds suppor to the REQUEST_FILENAME variable
This commit is contained in:
@@ -220,6 +220,7 @@ int Assay::processURI(const char *uri, const char *protocol,
|
||||
store_variable("QUERY_STRING", std::string(strchr(m_uri, '?')));
|
||||
}
|
||||
store_variable("PATH_INFO", path_info);
|
||||
store_variable("REQUEST_FILENAME", path_info);
|
||||
|
||||
size_t offset = path_info.find_last_of("/\\");
|
||||
if (offset != std::string::npos) {
|
||||
|
Reference in New Issue
Block a user