Fix UnlockUnlockedFile action

The time was nigh!
This commit is contained in:
Jure Grabnar 2016-09-22 18:23:57 +02:00
parent 674326e761
commit 3600fbfe64

View file

@ -160,7 +160,7 @@ class WopiController < ActionController::Base
end
else
logger.warn "Tried to unlock non-locked file"
response.headers["X-WOPI-Lock"] = ""
response.headers["X-WOPI-Lock"] = " "
render :nothing => true, :status => 409 and return
end
end