From 5093fa179062ea95cd6859ec4cb4b438bb337143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 10 Feb 2020 08:26:39 +0100 Subject: [PATCH] refs #324768 WebDAV workaround for the root path --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index e50e9c4b..aa8a4a5a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -166,7 +166,7 @@ if Redmine::Plugin.installed? :redmine_dmsf end # 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] end match '/dmsf', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options]