Skip to content
Snippets Groups Projects

Fix HTTP status codes for HTTP 403, 404, 422, 500

Open Pascal Ernster requested to merge fix-http-status-codes into develop

Don't return status code 200 but the correct status code.

Remove files hyrax/public/{404,422,500}.html, which made Rails return status code 200 instead of the one configured in hyrax/app/controllers/errors_controller.rb

Signed-off-by: Pascal Ernster pascal.ernster@rub.de

Merge request reports

Pipeline #18396 passed

Pipeline passed for ba5525bb on fix-http-status-codes

Approved by
Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading