From 802f33dc67a3f18f5aee8854ac1635fe1a8e939d Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Sun, 16 Dec 2012 15:25:09 +0000 Subject: doc: xss_clean() method is in Security, not Input The Input doc does talk about xss filtering, but they refer you to Security for details, which is where the function is actually defined. It gives more detail about what the function is supposed to do, and avoids some irrelevance. It's probably not a big deal; it just looks wrong. It _might_ have been responsible for [confusion](http://stackoverflow.com/questions/13570522/this-input-xss-cleandata-giving-fatal-error-with-codeigniter) sometimes. --- user_guide_src/source/libraries/form_validation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index fbe540ce0..bab61f124 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -914,7 +914,7 @@ to use: ==================== ========= =================================================================================================== Name Parameter Description ==================== ========= =================================================================================================== -**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Input Class ` page. +**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Security Class ` page. **prep_for_form** No Converts special characters so that HTML data can be shown in a form field without breaking it. **prep_url** No Adds "\http://" to URLs if missing. **strip_image_tags** No Strips the HTML from image tags leaving the raw URL. @@ -1081,4 +1081,4 @@ This function is identical to the **set_checkbox()** function above. :: /> - /> \ No newline at end of file + /> -- cgit v1.2.3-24-g4f1b