You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/helpers/cookie_helper.rst
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,12 @@ The following functions are available:
55
55
This helper function gives you friendlier syntax to get browser
56
56
cookies. Refer to the :doc:`IncomingRequest Library </incoming/incomingrequest>` for
57
57
detailed description of its use, as this function acts very
58
-
similarly to ``IncomingRequest::getCookie()``, except it will also prepend
58
+
similarly to :php:meth:`CodeIgniter\\HTTP\\IncomingRequest::getCookie()`,
59
+
except it will also prepend
59
60
the ``Config\Cookie::$prefix`` that you might've set in your
60
61
**app/Config/Cookie.php** file.
61
62
62
-
.. warning:: Using XSS filtering is a bad practice. It does not prevent XSS attacks perfectly. Using ``esc()`` with the correct ``$context`` in the views is recommended.
63
+
.. warning:: Using XSS filtering is a bad practice. It does not prevent XSS attacks perfectly. Using :php:func:`esc()` with the correct ``$context`` in the views is recommended.
0 commit comments