fix: secure_filename not working, progress bar typo

This commit is contained in:
Terry Geng
2020-05-16 16:02:44 +08:00
parent 257fff3e92
commit 1a7691cd1c
2 changed files with 1 additions and 3 deletions

View File

@ -585,8 +585,6 @@ def upload():
elif '../' in targetdir:
abort(403)
filename = secure_filename(file.filename).strip()
log.info('web: Uploading file from %s:' % request.remote_addr)
log.info('web: - filename: ' + filename)
log.info('web: - targetdir: ' + targetdir)