kemal/spec/middleware
Mike Perham e407d0195c Implement CSRF protection
This adds a middleware which, when activated, will deny any form submission which does not include a valid `authenticity_token` parameter or `http-x-csrf-token` header with the request.

The header and parameter names are identical to the ones supported by Ruby's rack-protection gem for interoperability purposes.
2016-06-28 15:50:43 -07:00
..
csrf_spec.cr Implement CSRF protection 2016-06-28 15:50:43 -07:00
filters_spec.cr All specs passing 2016-04-12 20:00:37 +03:00
http_basic_auth_spec.cr Fix ssl and specs for 0.18 2016-06-14 16:18:00 -05:00