diff --git a/app/controllers/wopi_controller.rb b/app/controllers/wopi_controller.rb index cddbce3c7..e63ff2472 100644 --- a/app/controllers/wopi_controller.rb +++ b/app/controllers/wopi_controller.rb @@ -36,6 +36,8 @@ class WopiController < ActionController::Base unlock when "REFRESH_LOCK" refresh_lock + when "GET_SHARE_URL" + render :nothing => true, :status => 501 and return else render :nothing => true, :status => 404 and return end