You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/controllers/oai_controller.rb
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
+
# The controller for actions related to OAI-PMH
1
2
classOaiController < ApplicationController
2
-
# This view only returns static public content and CSRF token authentication causes problems with OAI-PMH POST requests
3
-
skip_before_action:verify_authenticity_token
3
+
# codeql-suppress CSRF-Violation "CSRF token authentication causes problems with OAI-PMH POST requests and OAI-PMH POST is safe because it returns static public content"
0 commit comments