Show More
@@ -812,7 +812,7 b' class RepoFilesView(RepoAppView):' | |||||
812 | "filename=\"{}\"; " \ |
|
812 | "filename=\"{}\"; " \ | |
813 | "filename*=UTF-8\'\'{}".format(safe_path, encoded_path) |
|
813 | "filename*=UTF-8\'\'{}".format(safe_path, encoded_path) | |
814 |
|
814 | |||
815 |
return headers |
|
815 | return safe_bytes(headers).decode('latin-1', errors='replace') | |
816 |
|
816 | |||
817 | @LoginRequired() |
|
817 | @LoginRequired() | |
818 | @HasRepoPermissionAnyDecorator( |
|
818 | @HasRepoPermissionAnyDecorator( |
General Comments 0
You need to be logged in to leave comments.
Login now