Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin/contests/{id}/recompute' should be an HTTP POST request, not a GET` #274

Open
djmolny opened this issue Jan 12, 2025 · 0 comments
Open
Assignees
Labels

Comments

@djmolny
Copy link
Collaborator

djmolny commented Jan 12, 2025

HTTP GET requests are not supposed to modify any data (logs and such notwithstanding). So this request should be a POST instead.

Affected files:

  • config/routes.rb
  • app/views/admin/contests/index.html.erb
@djmolny djmolny added the bug label Jan 12, 2025
@djmolny djmolny self-assigned this Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant