Skip to content

Commit 0ca3ef9

Browse files
committed
docs: add InvalidChars filter explanation
1 parent 6cd0839 commit 0ca3ef9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

user_guide_src/source/incoming/filters.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,14 @@ The filters bundled with CodeIgniter4 are: ``Honeypot``, ``CSRF``, ``InvalidChar
204204

205205
.. note:: The filters are executed in the order defined in the config file. However, if enabled, ``DebugToolbar`` is always executed last because it should be able to capture everything that happens in the other filters.
206206

207+
InvalidChars
208+
=============
209+
210+
This filter checks if user input data (``$_GET``, ``$_POST``, ``$_COOKIE``, ``php://input``) do not contain the following characters:
211+
212+
- invalid UTF-8 characters
213+
- control characters except line break and tab code
214+
207215
SecureHeaders
208216
=============
209217

0 commit comments

Comments
 (0)