summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/security.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/libraries/security.rst')
-rw-r--r--user_guide_src/source/libraries/security.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/security.rst b/user_guide_src/source/libraries/security.rst
index 340cf4d73..8ee0c6e77 100644
--- a/user_guide_src/source/libraries/security.rst
+++ b/user_guide_src/source/libraries/security.rst
@@ -50,7 +50,10 @@ browser may attempt to execute.
::
- if ($this->security->xss_clean($file, TRUE) === FALSE) {     // file failed the XSS test }
+ if ($this->security->xss_clean($file, TRUE) === FALSE)
+ {
+ // file failed the XSS test
+ }
$this->security->sanitize_filename()
=====================================