chore: Remove unnecessary secure_filename call in jobs_download function

This commit is contained in:
Théophile Diot 2024-07-24 12:37:06 +01:00
parent 198f087896
commit 690f676cca
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -2372,8 +2372,6 @@ def jobs_download():
if not plugin_id or not job_name or not file_name:
return jsonify({"status": "ko", "message": "plugin_id, job_name and file_name are required"}), 422
file_name = secure_filename(file_name)
cache_file = app.config["DB"].get_job_cache_file(job_name, file_name, service_id=service_id, plugin_id=plugin_id)
if not cache_file: