提交 5cd218d7 编写于 作者: R Rémy Coutable

Merge branch 'dm-encode-tree-and-blob-paths' into 'master'

Fix issues with non-UTF8 filenames by always fixing the encoding of tree and blob paths

Closes #34529

See merge request !12636
---
title: Fix issues with non-UTF8 filenames by always fixing the encoding of tree and
blob paths
merge_request:
author:
......@@ -175,6 +175,10 @@ module Gitlab
encode! @name
end
def path
encode! @path
end
def truncated?
size && (size > loaded_size)
end
......
......@@ -80,6 +80,10 @@ module Gitlab
encode! @name
end
def path
encode! @path
end
def dir?
type == :tree
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册