git://git.onelab.eu
/
www-register-wizard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to codeigniter 1.7.2 for f12
[www-register-wizard.git]
/
helpers
/
security_helper.php
diff --git
a/helpers/security_helper.php
b/helpers/security_helper.php
index
0e2ba78
..
9cc70aa
100644
(file)
--- a/
helpers/security_helper.php
+++ b/
helpers/security_helper.php
@@
-6,7
+6,7
@@
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
- * @copyright Copyright (c) 2008, EllisLab, Inc.
+ * @copyright Copyright (c) 2008
- 2009
, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
@@
-32,15
+32,15
@@
*
* @access public
* @param string
*
* @access public
* @param string
- * @param
string the character set of your data
+ * @param
bool whether or not the content is an image file
* @return string
*/
if ( ! function_exists('xss_clean'))
{
* @return string
*/
if ( ! function_exists('xss_clean'))
{
- function xss_clean($str, $
charset = 'ISO-8859-1'
)
+ function xss_clean($str, $
is_image = FALSE
)
{
$CI =& get_instance();
{
$CI =& get_instance();
- return $CI->input->xss_clean($str, $
charset
);
+ return $CI->input->xss_clean($str, $
is_image
);
}
}
}
}