From bd5e6ca80f4fc6fecdc51f875ac6208d7c498757 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 2 Oct 2022 07:35:46 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/subversion_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.5