refs #324768 WebDAV workaround for the root path

This commit is contained in:
Karel Pičman 2020-02-10 08:26:39 +01:00
parent 67e2fe9561
commit 5093fa1790

View File

@ -166,7 +166,7 @@ if Redmine::Plugin.installed? :redmine_dmsf
end end
# WebDAV workaround for clients checking WebDAV availability in the root # WebDAV workaround for clients checking WebDAV availability in the root
if Redmine::Plugin.installed?(:easy_extensions) unless Redmine::Plugin.installed?(:easy_extensions)
match '/', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options] match '/', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options]
end end
match '/dmsf', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options] match '/dmsf', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options]