GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
State changing action should always be POST and so protected by CSRF too.
This doesn't happen in the following UI endpoints:
Reported by @cezar97.
templates: make state changing routes to POST method (#5541)
- pkg/context: add ParamsUser to unify the injection process
templates: make state changing routes to POST method (gogs#5541)