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.
Go to file
tamalsaha 3dc5a44744 Use github.com/unknwon/com (#7) 4 years ago
.drone.yml add drone (#3) 4 years ago
LICENSE first commit 9 years ago
README.md Update 'README.md' (#2) 4 years ago
csrf.go Use github.com/unknwon/com (#7) 4 years ago
csrf_test.go Use github.com/unknwon/com (#7) 4 years ago
go.mod Use github.com/unknwon/com (#7) 4 years ago
go.sum Use github.com/unknwon/com (#7) 4 years ago
xsrf.go csrf: token uses raw url encoding without padding (#8) 5 years ago
xsrf_test.go upgrade with macaron 8 years ago

README.md

csrf Build Status

Middleware csrf generates and validates CSRF tokens for Macaron.

API Reference

Installation

go get gitea.com/macaron/csrf

Getting Help

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.