File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ class RuleMessage {
110110 bool m_saveMessage;
111111 std::shared_ptr<std::string> m_serverIpAddress;
112112 int m_severity;
113- std::string m_uriNoQueryStringDecoded;
113+ std::shared_ptr<std:: string> m_uriNoQueryStringDecoded;
114114 std::string m_ver;
115115
116116 std::list<std::string> m_tags;
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ class Transaction : public TransactionAnchoredVariables {
410410 /* *
411411 * Holds the URI that was requests (without the query string).
412412 */
413- std::string m_uri_no_query_string_decoded;
413+ std::shared_ptr<std:: string> m_uri_no_query_string_decoded;
414414
415415 /* *
416416 * Holds the combined size of all arguments, later used to fill the
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ std::string RuleMessage::_details(const RuleMessage *rm) {
4242 }
4343 msg.append (" [hostname \" " + *rm->m_serverIpAddress .get () \
4444 + " \" ]" );
45- msg.append (" [uri \" " + utils::string::limitTo (200 , rm->m_uriNoQueryStringDecoded ) + " \" ]" );
45+ msg.append (" [uri \" " + utils::string::limitTo (200 , * rm->m_uriNoQueryStringDecoded . get () ) + " \" ]" );
4646 msg.append (" [unique_id \" " + rm->m_id + " \" ]" );
4747 msg.append (" [ref \" " + utils::string::limitTo (200 , rm->m_reference ) + " \" ]" );
4848
@@ -54,7 +54,7 @@ std::string RuleMessage::_errorLogTail(const RuleMessage *rm) {
5454 std::string msg;
5555
5656 msg.append (" [hostname \" " + *rm->m_serverIpAddress .get () + " \" ]" );
57- msg.append (" [uri \" " + utils::string::limitTo (200 , rm->m_uriNoQueryStringDecoded ) + " \" ]" );
57+ msg.append (" [uri \" " + utils::string::limitTo (200 , * rm->m_uriNoQueryStringDecoded . get () ) + " \" ]" );
5858 msg.append (" [unique_id \" " + rm->m_id + " \" ]" );
5959
6060 return msg;
You can’t perform that action at this time.
0 commit comments