Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-11 16:43:56 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-11 16:43:56 +0400
commit4903910390dc746f484d6c1206b00fa17007a665 (patch)
tree1f0b80c615a65d59d4c90a2c34c7a0c158b89fff /app/views/refs
parent9fb595eb354b61909c75d53748b1681e5fc02d79 (diff)
parent96d4f22e53a6176715f9557fb0707cb166a1dd80 (diff)
Merge pull request #1438 from SaitoWu/bugfix/1434
tree view need use ascii-8bit, file name need be utf8.
Diffstat (limited to 'app/views/refs')
-rw-r--r--app/views/refs/_tree_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/refs/_tree_file.html.haml b/app/views/refs/_tree_file.html.haml
index 765f271a1bf..f6566ccf5d5 100644
--- a/app/views/refs/_tree_file.html.haml
+++ b/app/views/refs/_tree_file.html.haml
@@ -2,7 +2,7 @@
.file_title
%i.icon-file
%span.file_name
- = name
+ = name.force_encoding('utf-8')
%small #{file.mode}
%span.options
= link_to "raw", blob_project_ref_path(@project, @ref, path: params[:path]), class: "btn very_small", target: "_blank"