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 {
106106 t->m_rules ->m_secWebAppId .m_value );
107107 }
108108
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) {
111111 t->m_collections .m_global_collection ->storeOrUpdateFirst (
112112 var, t->m_collections .m_global_collection_key ,
113113 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
5858ctunullpointer:src/rule_with_actions.cc:244
5959ctunullpointer:src/rule_with_operator.cc:135
6060ctunullpointer:src/rule_with_operator.cc:95
61- passedByValue:src/variables/global.h:109
62- passedByValue:src/variables/global.h:110
6361passedByValue:test/common/modsecurity_test.cc:49
6462passedByValue:test/common/modsecurity_test.cc:98
6563unreadVariable:src/rule_with_operator.cc:219
You can’t perform that action at this time.
0 commit comments