summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 07:35:46 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 07:35:46 +0000
commitbd5e6ca80f4fc6fecdc51f875ac6208d7c498757 (patch)
tree3c58aa3de92a6f06768aaaa120d7b99feba56b08
parent3eca703f2d83619841c40e841b324477a8099019 (diff)
downloadredmine-bd5e6ca80f4fc6fecdc51f875ac6208d7c498757.tar.gz
redmine-bd5e6ca80f4fc6fecdc51f875ac6208d7c498757.zip
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
-rw-r--r--lib/redmine/scm/adapters/subversion_adapter.rb2
1 files changed, 1 insertions, 1 deletions
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),