Skip to content

Commit

Permalink
Fix #68: Add the CsrfHeaderMiddleware middleware to use custom HTTP…
Browse files Browse the repository at this point in the history
… header to prevent forgery of requests, add the `CsrfMiddleware::withSafeMethods()` method to configure a custom safe HTTP methods list
  • Loading branch information
olegbaturin authored Nov 14, 2024
1 parent 38ea3c5 commit 962b006
Show file tree
Hide file tree
Showing 13 changed files with 848 additions and 48 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 2.1.2 under development

- New #68: Add the `CsrfHeaderMiddleware` middleware to use custom HTTP header to prevent forgery of requests (@olegbaturin)
- Enh #68: Add the `CsrfMiddleware::withSafeMethods()` method to configure a custom safe HTTP methods list (@olegbaturin)
- Chg #71: Deprecate `CsrfMiddleware` in favor of `CsrfTokenMiddleware` (@ev-gor)

## 2.1.1 May 08, 2024
Expand Down
Loading

0 comments on commit 962b006

Please sign in to comment.