Skip to content

Commit 4225459

Browse files
committed
#654 fixed non-working files download
1 parent 7d03fdc commit 4225459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def set_extra_headers(self, path):
644644
encoded_filename = urllib.parse.quote(filename, encoding='utf-8')
645645
self.set_header('Content-Disposition', 'attachment; filename*=UTF-8\'\'' + encoded_filename + '')
646646

647-
@check_authorization
647+
@check_authorization_sync
648648
def validate_absolute_path(self, root, absolute_path):
649649
audit_name = get_audit_name_from_request(self)
650650
user_id = identify_user(self)

0 commit comments

Comments
 (0)