From 0c9292e4fcc247fb847e732d77911b6086b08947 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Thu, 22 Sep 2016 18:47:13 +0200 Subject: [PATCH] Catch GET_SHARE_URL post file action --- app/controllers/wopi_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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