Skip to content

Commit

Permalink
Referrer-Policy is added by default in Reactive applications
Browse files Browse the repository at this point in the history
Closes gh-13561
  • Loading branch information
marcusdacoregio committed Jul 27, 2023
1 parent c4f061c commit 13ca7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/reactive/exploits/headers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ fun webFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
[[webflux-headers-referrer]]
== Referrer Policy

Spring Security does not add xref:features/exploits/headers.adoc#headers-referrer[Referrer Policy] headers by default.
You can enable the Referrer Policy header using configuration as shown below:
Spring Security adds the xref:features/exploits/headers.adoc#headers-referrer[Referrer Policy] header by default with the directive `no-referrer`.
You can change the Referrer Policy header using configuration as shown below:

.Referrer Policy Configuration
[tabs]
Expand Down

0 comments on commit 13ca7ac

Please sign in to comment.