手册:$wgCookieSameSite

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCookieSameSite and the translation is 50% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎français • ‎中文 • ‎日本語
Cookie: $wgCookieSameSite
用于登录cookie(小型文本文件)的SameSite cookie属性。
引进版本:1.34.3 (Gerrit change 608993; git #f8a7a1ac)
移除版本:仍在使用
允许的值:"Lax""Strict""None"或空字符串/null
默认值:null (gerrit:608993, gerrit:612335, gerrit:615843)

细节

这仅适用于登录cookie,因为其他cookie的正确值取决于它是哪种cookie。

SameSite=None is only permitted for HTTPS requests. See $wgForceHTTPS).

Addition

This variable was added in MediaWiki 1.35.0 (gerrit:608993).

It was backported to 1.34 as part of the MediaWiki 1.34.3 release (gerrit:612335).

It was also backported to 1.31 as part of the MediaWiki 1.31.9 release (gerrit:618543).

参见