@@ -36,10 +36,10 @@ bool DetectXSS::evaluate(Transaction *t, RuleWithActions *rule,
3636
3737 switch (xss_result) {
3838 case LIBINJECTION_RESULT_TRUE:
39- ms_dbg_a (t, 5 , std::string (" detected XSS using libinjection." ))
39+ ms_dbg_a (t, 5 , std::string (" detected XSS using libinjection." ));
4040 if (rule != nullptr && rule->hasCaptureAction ()) {
4141 t->m_collections .m_tx_collection ->storeOrUpdateFirst (" 0" , input);
42- ms_dbg_a (t, 7 , std::string (" Added DetectXSS match TX.0: " ) + input)
42+ ms_dbg_a (t, 7 , std::string (" Added DetectXSS match TX.0: " ) + input);
4343 }
4444 break ;
4545
@@ -48,16 +48,16 @@ bool DetectXSS::evaluate(Transaction *t, RuleWithActions *rule,
4848 std::string (" libinjection parser error during XSS analysis (" )
4949 + libinjectionResultToString (xss_result)
5050 + " ); treating as match (fail-safe). Input: "
51- + input)
51+ + input);
5252 if (rule != nullptr && rule->hasCaptureAction ()) {
5353 t->m_collections .m_tx_collection ->storeOrUpdateFirst (" 0" , input);
54- ms_dbg_a (t, 7 , std::string (" Added DetectXSS error input TX.0: " ) + input)
54+ ms_dbg_a (t, 7 , std::string (" Added DetectXSS error input TX.0: " ) + input);
5555 }
5656 break ;
5757
5858 case LIBINJECTION_RESULT_FALSE:
5959 ms_dbg_a (t, 9 ,
60- std::string (" libinjection was not able to find any XSS in: " ) + input)
60+ std::string (" libinjection was not able to find any XSS in: " ) + input);
6161 break ;
6262 }
6363
0 commit comments