Closed
Description
Describe the bug
"By default, Spring Security does not add Referrer Policy headers."
But in fact, it does for reactive applications. And the default value is "no-referrer"
Note, that this is not the case for servlet stack.
To Reproduce
- Create a Spring Boot App with webflux and security (as below)
- Start it and open it in a browser (it will show login page)
- In the network console of the browser, it shows "Referrer-Policy: no-referrer" in the HTTP repsonse hhaders.
Expected behavior
The behavior for reactive stack should be consistent with the documentation.
Preferrably, it should also be consistent with the behavior for servlet stack.