mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Having a copy of m_httpVersion and m_uri instead of a pointer reference
This commit is contained in:
@@ -351,7 +351,7 @@ class Transaction : public TransactionAnchoredVariables {
|
||||
/**
|
||||
* Holds the HTTP version: 1.2, 2.0, 3.0 and so on....
|
||||
*/
|
||||
const char *m_httpVersion;
|
||||
std::string m_httpVersion;
|
||||
|
||||
/**
|
||||
* Holds the server IP Address
|
||||
@@ -361,7 +361,7 @@ class Transaction : public TransactionAnchoredVariables {
|
||||
/**
|
||||
* Holds the raw URI that was requested.
|
||||
*/
|
||||
const char *m_uri;
|
||||
std::string m_uri;
|
||||
|
||||
/**
|
||||
* Holds the URI that was requests (without the query string).
|
||||
|
||||
Reference in New Issue
Block a user