Exclude Cookie with non-ascii value in Cookie name or value
Guarded by net::feature flag DisallowNonAsciiCookies, when a cookie's name or value contains a non-ascii value, this cookie will be excluded. This feature is disabled by default. Bug: 40061459 Change-Id: Ib853b730568065a5a73d699a1cac51c548c72a40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6123584 Reviewed-by: Maks Orlovich <morlovich@chromium.org> Reviewed-by: Steven Bingler <bingler@chromium.org> Commit-Queue: Amarjot Gill <amarjotgill@chromium.org> Cr-Commit-Position: refs/heads/main@{#1404400}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
2cdfb3b004
commit
f61674a72b
content/public/common
net
tools/metrics/histograms/metadata/cookie
@ -96,6 +96,9 @@ GetSwitchDependentFeatureOverrides(const base::CommandLine& command_line) {
|
||||
{switches::kEnableExperimentalCookieFeatures,
|
||||
std::cref(net::features::kEnableSchemeBoundCookies),
|
||||
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
|
||||
{switches::kEnableExperimentalCookieFeatures,
|
||||
std::cref(net::features::kDisallowNonAsciiCookies),
|
||||
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
|
||||
|
||||
// Test behavior for third-party cookie phaseout.
|
||||
{network::switches::kTestThirdPartyCookiePhaseout,
|
||||
|
Reference in New Issue
Block a user