From 91f36e0d5ac4e47b4af279bafca5b86478a56f7b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 14:31:12 +0000 Subject: [PATCH] refactor(tasks): extract filename regex to shared constant Move the valid filename regex pattern to a shared constant in `app/utils/filename_utils.py` and update both the task logic and security tests to use it. This eliminates duplication and ensures consistency across the codebase. Normalized line endings in `app/tasks/extract_metadata_with_gpt.py` from CRLF to LF to ensure consistency and prevent CI issues. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>