From e44563f1589323d7b184e6e0b3bd3bb9eada3cb5 Mon Sep 17 00:00:00 2001 From: Yahya Kayaal <117476621+kayaal34@users.noreply.github.com> Date: Tue, 24 Nov 2026 11:11:20 +0300 Subject: [PATCH] Fix mangled IOC file names when downloading indicators --- src/mvt/common/updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mvt/common/updates.py b/src/mvt/common/updates.py index 71e97cc4..ab526965 100644 --- a/src/mvt/common/updates.py +++ b/src/mvt/common/updates.py @@ -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: