File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ class Global_DynamicElement : public Variable {
106
106
t->m_rules ->m_secWebAppId .m_value );
107
107
}
108
108
109
- static void storeOrUpdateFirst (Transaction *t, std::string var,
110
- std::string value) {
109
+ static void storeOrUpdateFirst (Transaction *t, const std::string & var,
110
+ const std::string & value) {
111
111
t->m_collections .m_global_collection ->storeOrUpdateFirst (
112
112
var, t->m_collections .m_global_collection_key ,
113
113
t->m_rules ->m_secWebAppId .m_value ,
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ rethrowNoCurrentException:src/rule_with_actions.cc:127
58
58
ctunullpointer:src/rule_with_actions.cc:244
59
59
ctunullpointer:src/rule_with_operator.cc:135
60
60
ctunullpointer:src/rule_with_operator.cc:95
61
- passedByValue:src/variables/global.h:109
62
- passedByValue:src/variables/global.h:110
63
61
passedByValue:test/common/modsecurity_test.cc:49
64
62
passedByValue:test/common/modsecurity_test.cc:98
65
63
unreadVariable:src/rule_with_operator.cc:219
You can’t perform that action at this time.
0 commit comments