mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Remove unnecessary secure_filename call in jobs_download function
This commit is contained in:
parent
198f087896
commit
690f676cca
1 changed files with 0 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue