Have net::CanonicalCookie::Create return nullptr if the resulting cookie
is non-canonical. The function documentation already states this is what the function should do, but the current code only DCHECKs isCanonical. In production it is still possible for non-canonical cookies to be sent to the browser process this way since the DCHECK is not enabled. Bug: 1162915 Change-Id: I6046477eeb3d042fee65c3e1996fc487795b3cc7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614366Reviewed-by:Martin Šrámek <msramek@chromium.org> Reviewed-by:
Lily Chen <chlily@chromium.org> Reviewed-by:
Denis Kuznetsov [CET] <antrim@chromium.org> Commit-Queue: Dylan Cutler <dylancutler@google.com> Cr-Commit-Position: refs/heads/master@{#841642}
Showing
Please register or sign in to comment