Skip to content

Commit d1b7921

Browse files
authored
Merge pull request #8293 from kenjis/docs-validation.rst
docs: improve note in validation.rst
2 parents eab2a14 + 330b276 commit d1b7921

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Traditional Rules
222222
-----------------
223223

224224
.. important:: Traditional Rules exist only for backward compatibility. Do not
225-
use them in new projects. Even if you are already using them, we recommend
225+
use them in new projects. Even if you are already using them, we recommend
226226
switching to Strict Rules.
227227

228228
.. warning:: When validating data that contains non-string values, such as JSON data, it is recommended to use **Strict Rules**.
@@ -525,7 +525,7 @@ replaced by the **value** of the matched incoming field. An example should clari
525525
:lines: 2-
526526

527527
.. note:: Since v4.3.5, you must set the validation rules for the placeholder
528-
field (``id``).
528+
field (the ``id`` field in the sample code above) for security.
529529

530530
In this set of rules, it states that the email address should be unique in the database, except for the row
531531
that has an id matching the placeholder's value. Assuming that the form POST data had the following:

0 commit comments

Comments
 (0)