summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorGeorge Petculescu <gxgpet@gmail.com>2021-03-14 00:56:30 +0100
committerGeorge Petculescu <gxgpet@gmail.com>2021-03-14 00:56:30 +0100
commit2abda9049a8d006673204f56f4680526232b2360 (patch)
tree9021e8255171fd834fdad24f0e3892aaba5dfb68 /user_guide_src
parentcd192363f777731e8f382fe7288a44183a448213 (diff)
Dropping the possibility that samesite cookie attribute won't be sent; defaults to Lax; all samesite values are ucfirst'ed; log for SameSite=None non-secure cookies
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/input.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/input.rst b/user_guide_src/source/libraries/input.rst
index 79c128afa..a9255fa87 100644
--- a/user_guide_src/source/libraries/input.rst
+++ b/user_guide_src/source/libraries/input.rst
@@ -252,7 +252,7 @@ Class Reference
:param string $prefix: Cookie name prefix
:param bool $secure: Whether to only transfer the cookie through HTTPS
:param bool $httponly: Whether to only make the cookie accessible for HTTP requests (no JavaScript)
- :param string $samesite: Cookie's SameSite attribute ('lax', 'strict', 'none' or NULL)
+ :param string $samesite: Cookie's SameSite attribute ('Lax', 'Strict', 'None')
:rtype: void
@@ -299,7 +299,7 @@ Class Reference
The *httponly* and *secure* flags, when omitted, will default to your
``$config['cookie_httponly']`` and ``$config['cookie_secure']`` settings.
- The *samesite* parameter can be ``'lax'``, ``'strict'``, ``'none'`` or ``NULL``. When ``NULL``, the same-site cookie attribute is not set at all.
+ The *samesite* parameter can be ``'Lax'``, ``'Strict'`` or ``'None'``. If not set, the same-site cookie attribute will default to ``'Lax'``.
**Discrete Parameters**