Fix HTTP status codes for HTTP 403, 404, 422, 500
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
Activity
requested review from @anusha
@anusha: Could you have a look at this to check if this won't cause any unintended side effects?
Please just review but do not merge this MR just yet, because I'll probably give some of the strings in
en.yml
some more polishing in the next days.Edited by Pascal Ernsteradded deployed for testing label
added Approved label
removed Approved label
assigned to @frenzjb5
added Blocked label
added 15 commits
-
a87a69da...7a4aaa08 - 11 commits from branch
develop
- c6cbf873 - Fix HTTP status codes for HTTP 403, 404, 422, 500
- 99c7f62a - Reorder HTTP error pages by HTTP status codes, harmonize punctuation
- 6cf3e01d - Fix HTML code indention for HTTP error pages
- ba5525bb - Add CSS class "removeIfDocumentRenderedInFrame" for <header> and <footer>
Toggle commit list-
a87a69da...7a4aaa08 - 11 commits from branch
removed deployed for testing label
Please register or sign in to reply