summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-12-16 16:25:09 +0100
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-12-16 16:25:09 +0100
commit802f33dc67a3f18f5aee8854ac1635fe1a8e939d (patch)
tree5183e1b88fc9a9120a8d3f2db412935ef2d73bea /user_guide_src/source/libraries
parent5e872505a06da30c4643b99643b39bd650d45093 (diff)
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.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst4
1 files 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 <input>` page.
+**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Security Class <security>` 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.
::
<input type="radio" name="myradio" value="1" <?php echo set_radio('myradio', '1', TRUE); ?> />
- <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> /> \ No newline at end of file
+ <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />