Fix mangled IOC file names when downloading indicators

This commit is contained in:
Yahya Kayaal committed 2026-11-24 11:11:20 +03:00
1 parent 4c97897638
commit e44563f158
1 file changed
+1 -1
+1 -1
View File
@@ -543,7 +543,7 @@ class IndicatorsUpdates:
)
return None
clean_file_name = ioc_url.lstrip("https://").replace("/", "_")
clean_file_name = ioc_url.split("://", 1)[-1].replace("/", "_")
ioc_path = os.path.join(MVT_INDICATORS_FOLDER, clean_file_name)
with open(ioc_path, "w", encoding="utf-8") as handle: