From c158988b568f6d8bcb5ab54c156a24c47d95733e Mon Sep 17 00:00:00 2001 From: DastInDark <2350416+hitenkoku@users.noreply.github.com> Date: Thu, 12 Oct 2023 20:43:15 +0900 Subject: [PATCH] fix: fixed duplicate field outputted in extrafieldinfo to remove trim space #1186 --- src/detections/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detections/utils.rs b/src/detections/utils.rs index 0cead0b64..24134fc42 100644 --- a/src/detections/utils.rs +++ b/src/detections/utils.rs @@ -710,7 +710,7 @@ pub fn remove_sp_char(record_value: CompactString) -> CompactString { } !retain_flag }); - newline_replaced_cs.into() + newline_replaced_cs.trim().into() } #[cfg(test)]