mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds support to the collection SESSION and setsid action
This commit is contained in:
@@ -45,7 +45,7 @@ namespace collection {
|
||||
class Collections :
|
||||
public std::unordered_map<std::string, Collection *> {
|
||||
public:
|
||||
Collections(Collection *global, Collection *ip);
|
||||
Collections(Collection *global, Collection *ip, Collection *session);
|
||||
~Collections();
|
||||
|
||||
void store(std::string key, std::string value);
|
||||
@@ -86,9 +86,11 @@ class Collections :
|
||||
|
||||
std::string m_global_collection_key;
|
||||
std::string m_ip_collection_key;
|
||||
std::string m_session_collection_key;
|
||||
|
||||
Collection *m_global_collection;
|
||||
Collection *m_ip_collection;
|
||||
Collection *m_session_collection;
|
||||
};
|
||||
|
||||
} // namespace collection
|
||||
|
Reference in New Issue
Block a user