瀏覽代碼

Referrer-Policy is added by default in Reactive applications

Closes gh-13561
Marcus Da Coregio 2 年之前
父節點
當前提交
13ca7ac4d4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/modules/ROOT/pages/reactive/exploits/headers.adoc

+ 2 - 2
docs/modules/ROOT/pages/reactive/exploits/headers.adoc

@@ -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]