Backport only the fix without tests to 4.2-stable (#37718).

git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@21882 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2022-10-02 07:35:46 +00:00
parent 3eca703f2d
commit bd5e6ca80f

View File

@@ -115,7 +115,7 @@ module Redmine
entries <<
Entry.new(
{
:name => CGI.unescape(name),
:name => Addressable::URI.unescape(name),
:path => ((path.empty? ? "" : "#{path}/") + name),
:kind => entry['kind'],
:size => ((s = entry['size']) ? s['__content__'].to_i : nil),