From: Marius Balteanu Date: Sun, 2 Oct 2022 07:35:46 +0000 (+0000) Subject: Backport only the fix without tests to 4.2-stable (#37718). X-Git-Tag: 4.2.8~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bd5e6ca80f4fc6fecdc51f875ac6208d7c498757;p=redmine.git 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 --- diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index 4dcc1fec6..0bcadc1f0 100644 --- a/lib/redmine/scm/adapters/subversion_adapter.rb +++ b/lib/redmine/scm/adapters/subversion_adapter.rb @@ -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),