Skip to content

Commit ace396b

Browse files
fix(security): remove CSRF bypass from virus scan endpoint
1 parent b126797 commit ace396b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/controllers/api/storage_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
class Api::StorageController < Api::ApplicationController
22
skip_after_action :verify_authorized
33
skip_after_action :verify_policy_scoped
4-
skip_before_action :verify_authenticity_token, only: [:virus_scan]
54

65
def upload
76
#https://shrinerb.com/docs/plugins/presign_endpoint#calling-from-a-controller

0 commit comments

Comments
 (0)