diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-04-19 19:21:06 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-04-19 19:21:06 +0200 |
commit | ad4750509885ad5bb368fc308f86d8c06d45b15c (patch) | |
tree | 8133d8ffdceb9877c3125175a20e8dcb79cea59c /system/core/Security.php | |
parent | 71ac7e699f587ee479893d16521ea59570bd319f (diff) |
Normalize comments in core files
Diffstat (limited to 'system/core/Security.php')
-rwxr-xr-x | system/core/Security.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/core/Security.php b/system/core/Security.php index ac39ce97b..8d81babf2 100755 --- a/system/core/Security.php +++ b/system/core/Security.php @@ -102,6 +102,9 @@ class CI_Security { 'Redirect\s+302' ); + /** + * Initialize security class + */ public function __construct() { // Is CSRF protection enabled? @@ -558,8 +561,8 @@ class CI_Security { * Callback function for xss_clean() to remove whitespace from * things like j a v a s c r i p t * - * @param type - * @return type + * @param array + * @return string */ protected function _compact_exploded_words($matches) { @@ -568,8 +571,8 @@ class CI_Security { // -------------------------------------------------------------------- - /* - * Remove Evil HTML Attributes (like evenhandlers and style) + /** + * Remove Evil HTML Attributes (like event handlers and style) * * It removes the evil attribute and either: * - Everything up until a space |