app/cms/scrivito/controller_actions.rb in scrivito_sdk-1.17.0 vs app/cms/scrivito/controller_actions.rb in scrivito_sdk-1.18.0.rc1
- old
+ new
@@ -162,10 +162,10 @@
# @api public
#
def deliver_file
if binary = @obj.binary
binary_routing = BinaryRouting.new(request, scrivito_engine)
- redirect_to binary_routing.resolved_binary_url(binary)
+ redirect_to binary_routing.resolved_binary_url(binary), allow_other_host: true
else
render plain: 'Empty Blob', status: 404
end
end