mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-13 11:42:25 -04:00
wrong log format
This commit is contained in:
parent
58709ebca0
commit
3376158b2c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def get_file_paths(filename, upload_folder):
|
||||||
|
|
||||||
def is_valid_api_download_file(filename: str, key: str, secret: str, upload_folder: str) -> [str, str]:
|
def is_valid_api_download_file(filename: str, key: str, secret: str, upload_folder: str) -> [str, str]:
|
||||||
if filename != secure_filename(filename):
|
if filename != secure_filename(filename):
|
||||||
current_app.logger.error('Insecure filename %', filename)
|
current_app.logger.error('Insecure filename %s', filename)
|
||||||
abort(400, message='Insecure filename')
|
abort(400, message='Insecure filename')
|
||||||
|
|
||||||
complete_path, filepath = get_file_paths(filename, upload_folder)
|
complete_path, filepath = get_file_paths(filename, upload_folder)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue