refs #324768 WebDAV workaround for the root path
This commit is contained in:
parent
67e2fe9561
commit
5093fa1790
@ -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]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user