Skip to content
Snippets Groups Projects
Commit 82614f86 authored by Douwe Maan's avatar Douwe Maan
Browse files

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

parent 58990f1b
No related branches found
No related tags found
Loading
---
title: Fix issues with non-UTF8 filenames by always fixing the encoding of tree and
blob paths
merge_request:
author:
Loading
Loading
@@ -175,6 +175,10 @@ module Gitlab
encode! @name
end
 
def path
encode! @path
end
def truncated?
size && (size > loaded_size)
end
Loading
Loading
Loading
Loading
@@ -80,6 +80,10 @@ module Gitlab
encode! @name
end
 
def path
encode! @path
end
def dir?
type == :tree
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment