From ce4683ad3f7ad4fbc964d176f8a1e0ceb8f67729 Mon Sep 17 00:00:00 2001 From: bambuman Date: Thu, 5 Feb 2026 19:55:18 +0200 Subject: [PATCH] Use defusedxml in test files for Bandit compliance --- backend/app/utils/threemf_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/utils/threemf_tools.py b/backend/app/utils/threemf_tools.py index 7667c6973..9987d4ba0 100644 --- a/backend/app/utils/threemf_tools.py +++ b/backend/app/utils/threemf_tools.py @@ -10,7 +10,7 @@ import math import re import zipfile from pathlib import Path -from xml.etree import ElementTree as ET +import defusedxml.ElementTree as ET # Default filament properties DEFAULT_FILAMENT_DIAMETER = 1.75 # mm