You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/context
6543 ac0f452b30
Redirect on bad CSRF instead of presenting bad page (#14937) (#16378)
The current CSRF handler is a bit harsh with bad CSRF tokens on webpages
I think we can be a little kinder and redirect to base page with a flash error

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
access_log.go Fix access log (#14475) 4 years ago
api.go Move middlewares to web/middleware (#14480) 4 years ago
api_org.go Golint fixed for modules/context 8 years ago
api_test.go fix API link header (#7298) 6 years ago
auth.go Add SameSite setting for cookies (#14900) 4 years ago
captcha.go Fix captcha (#14488) 4 years ago
context.go Add SameSite setting for cookies (#14900) 4 years ago
csrf.go Redirect on bad CSRF instead of presenting bad page (#14937) (#16378) 4 years ago
form.go Move macaron to chi (#14293) 4 years ago
org.go Update docs and comments to remove macaron (#14491) 4 years ago
pagination.go [Feature] add precise search type for Elastic Search (#12869) 4 years ago
permission.go Update docs and comments to remove macaron (#14491) 4 years ago
private.go Update docs and comments to remove macaron (#14491) 4 years ago
repo.go Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746) 4 years ago
response.go Stop calling WriteHeader in Write (#15862) (#15873) 4 years ago
secret.go Move macaron to chi (#14293) 4 years ago
xsrf.go Move macaron to chi (#14293) 4 years ago
xsrf_test.go Move macaron to chi (#14293) 4 years ago