From 23cb4bdf36c7b82f326cb6f859f1050a0e5624ee Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Wed, 13 May 2026 17:57:55 -0500 Subject: [PATCH] fix: use unique temp filename for migration archive uploads --- mealie/core/dependencies/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/core/dependencies/dependencies.py b/mealie/core/dependencies/dependencies.py index 6bbe3717c..fb3d746f8 100644 --- a/mealie/core/dependencies/dependencies.py +++ b/mealie/core/dependencies/dependencies.py @@ -179,7 +179,7 @@ def validate_file_token(token: str | None = None) -> Path: @contextmanager def get_temporary_zip_path(auto_unlink=True) -> Generator[Path, None, None]: app_dirs.TEMP_DIR.mkdir(exist_ok=True, parents=True) - temp_path = app_dirs.TEMP_DIR.joinpath("my_zip_archive.zip") + temp_path = app_dirs.TEMP_DIR / f"{uuid4().hex}.zip" try: yield temp_path finally: