summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-09-01 11:03:16 +0200
committerAndrey Andreev <narf@devilix.net>2015-09-01 11:03:16 +0200
commit52a2defaff4717e359e5c0ac56704b3e64187b7b (patch)
treea725ab03ce321f3d901ef533bdb0e45ff59c58a3 /user_guide_src/source/libraries
parent06ac55364abe6f52617cd834fc24e89b1cb18d02 (diff)
[ci skip] Remove a bad advice from the Security lib docs
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/security.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/user_guide_src/source/libraries/security.rst b/user_guide_src/source/libraries/security.rst
index 305a8e57c..2cbe46f4d 100644
--- a/user_guide_src/source/libraries/security.rst
+++ b/user_guide_src/source/libraries/security.rst
@@ -27,10 +27,6 @@ or other types of code that attempt to hijack cookies or do other
malicious things. If anything disallowed is encountered it is rendered
safe by converting the data to character entities.
-Note: This function should only be used to deal with data upon
-submission. It's not something that should be used for general runtime
-processing since it requires a fair amount of processing overhead.
-
To filter data through the XSS filter use the ``xss_clean()`` method::
$data = $this->security->xss_clean($data);