A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix: read YAML templates as UTF-8
Ghraven38c7a72cb1c9
diff --git a/flowsint-core/src/flowsint_core/templates/loader/yaml_loader.py b/flowsint-core/src/flowsint_core/templates/loader/yaml_loader.pyindex 297cbb72..69462c92 100644--- a/flowsint-core/src/flowsint_core/templates/loader/yaml_loader.py+++ b/flowsint-core/src/flowsint_core/templates/loader/yaml_loader.py@@ -109,7 +109,7 @@ def sanitize_url_component(value: str) -> str:class YamlLoader:@staticmethoddef load_enricher_yaml(filename: str) -> dict[str, Any] | yaml.YAMLError:- with open(filename) as stream:+ with open(filename, encoding="utf-8") as stream:try:return yaml.safe_load(stream)except yaml.YAMLError as exc: