From 2732abb58fe5077a480098dc23ad5b1b6b1fb092 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 26 May 2022 19:55:37 +0900 Subject: [PATCH] docs: replace "Form validation" with "Validation" Form validation is the name of CI3 library. --- user_guide_src/source/concepts/security.rst | 6 +++--- user_guide_src/source/helpers/form_helper.rst | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user_guide_src/source/concepts/security.rst b/user_guide_src/source/concepts/security.rst index 147c2a94c6..7efc051a49 100644 --- a/user_guide_src/source/concepts/security.rst +++ b/user_guide_src/source/concepts/security.rst @@ -39,7 +39,7 @@ CodeIgniter provisions ====================== - :doc:`HTTP library <../incoming/incomingrequest>` provides for input field filtering & content metadata -- Form validation library +- Validation library ********************************************* A2 Weak authentication and session management @@ -82,7 +82,7 @@ CodeIgniter provisions ====================== - esc function -- Form validation library +- Validation library *********************************** A4 Insecure Direct Object Reference @@ -103,7 +103,7 @@ OWASP recommendations CodeIgniter provisions ====================== -- Form validation library +- Validation library - Easy to add third party authentication **************************** diff --git a/user_guide_src/source/helpers/form_helper.rst b/user_guide_src/source/helpers/form_helper.rst index 676a16adf5..8f270085f8 100644 --- a/user_guide_src/source/helpers/form_helper.rst +++ b/user_guide_src/source/helpers/form_helper.rst @@ -510,8 +510,8 @@ The following functions are available: /> /> - .. note:: If you are using the Form Validation class, you must always specify + .. note:: If you are using the Validation class, you must always specify a rule for your field, even if empty, in order for the ``set_*()`` - functions to work. This is because if a Form Validation object is + functions to work. This is because if a Validation object is defined, the control for ``set_*()`` is handed over to a method of the class instead of the generic helper function.