]> source.dussan.org Git - redmine.git/commitdiff
Backport only the fix without tests to 4.2-stable (#37718).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 07:35:46 +0000 (07:35 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 07:35:46 +0000 (07:35 +0000)
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

index 4dcc1fec67dbae36285aa9c0a7ae6c820a1a0f7c..0bcadc1f0ef4ebf9f60116cf62a880a15c9060fa 100644 (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),