Merge branch 'devel-3.0.1' of github.com:danmunn/redmine_dmsf into devel-3.0.1

This commit is contained in:
Karel Pičman 2022-05-17 14:43:52 +02:00
commit 401158304b

View File

@ -143,6 +143,8 @@ module Dav4rack
collection = path.end_with?('/')
path = ::File.expand_path path
path << '/' if collection and !path.end_with?('/')
# remove a drive letter in Windows
path.gsub!(/^([^\/]*)\//, '/')
path
end