From 5115ede4546b2e64ae6b34f0abcbfebda5ecc0d7 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Thu, 14 Sep 2017 11:24:51 +0200 Subject: [PATCH] files: make the copy of the file use safe path. This fixes problem with non-ascii ones. --- rhodecode/templates/files/files_source.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/templates/files/files_source.mako b/rhodecode/templates/files/files_source.mako index 977e1940..11c2691f 100644 --- a/rhodecode/templates/files/files_source.mako +++ b/rhodecode/templates/files/files_source.mako @@ -16,7 +16,7 @@ | ${h.format_byte_size_binary(c.file.size)} | ${c.file.mimetype} | ${h.get_lexer_for_filenode(c.file).__class__.__name__} - | + |