##// END OF EJS Templates
fix(app): Adjusted accordingly to PR suggestions. Fixes: RCCE-37
ilin.s -
r5270:53acf5d4 default
parent child Browse files
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.encode().decode('iso-8859-1', errors='replace')
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