Skip to content

Commit 5a94a0d

Browse files
committed
Remove ignored CSRF error suppression
1 parent 8653301 commit 5a94a0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/oai_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The controller for actions related to OAI-PMH
22
class OaiController < ApplicationController
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"
3+
# CSRF token authentication causes problems with OAI-PMH POST requests and OAI-PMH POST is safe because it returns static public content
44
skip_before_action :verify_authenticity_token, only: [:index]
55

66
# GET /oai-pmh

0 commit comments

Comments
 (0)