Skip to content

Commit d714c58

Browse files
authored
Merge pull request #50747 from GregJohnStewart/patch-1
Enhance CSRF prevention documentation
2 parents 2f562bc + fc7fe5a commit d714c58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/main/asciidoc/security-csrf-prevention.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ directly embedded in a hidden form input of server-side rendered HTML forms, or
1818

1919
The extension consists of a xref:rest.adoc[Quarkus REST (formerly RESTEasy Reactive)] server filter which creates and verifies CSRF tokens in `application/x-www-form-urlencoded` and `multipart/form-data` forms and a Qute HTML form parameter provider which supports the xref:qute-reference.adoc#injecting-beans-directly-in-templates[injection of CSRF tokens in Qute templates].
2020

21+
The CSRF prevention filter applies to requests using HTTP `POST`, `PUT`, `PATCH`, `DELETE` and other methods that can change the REST application state.
22+
2123
== Creating the Project
2224

2325
First, we need a new project.

0 commit comments

Comments
 (0)