Skip to content

Commit 67819c3

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into 4.5
2 parents c90053b + ab7d167 commit 67819c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Commands/Utilities/FilterCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class FilterCheck extends BaseCommand
5757
*/
5858
protected $arguments = [
5959
'method' => 'The HTTP method. get, post, put, etc.',
60-
'route' => 'The route (URI path) to check filtes.',
60+
'route' => 'The route (URI path) to check filters.',
6161
];
6262

6363
/**

user_guide_src/source/libraries/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ or the value that was validated you can add the ``{field}``, ``{param}`` and ``{
576576
On a field with the human name Username and a rule of ``min_length[6]`` with a value of "Pizza", an error would display: "Supplied value (Pizza) for Username must have
577577
at least 6 characters."
578578

579-
.. warning:: If you get the error messages with ``getErrors()`` or ``getError()``, the messages are not HTML escaped. If you use user input data like ``({value})`` to make the error message, it might contain HTML tags. If you don't escape the messages before displying them, XSS attacks are possible.
579+
.. warning:: If you get the error messages with ``getErrors()`` or ``getError()``, the messages are not HTML escaped. If you use user input data like ``({value})`` to make the error message, it might contain HTML tags. If you don't escape the messages before displaying them, XSS attacks are possible.
580580

581581
.. note:: When using label-style error messages, if you pass the second parameter to ``setRules()``, it will be overwritten with the value of the first parameter.
582582

0 commit comments

Comments
 (0)