udpated xss_clean() in the security helper to pass $is_image instead of the deprecated $charset

http://codeigniter.com/bug_tracker/bug/6706/
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
index 0e2ba78..4dbbf72 100644
--- a/system/helpers/security_helper.php
+++ b/system/helpers/security_helper.php
@@ -32,15 +32,15 @@
  *
  * @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'))
 {
-	function xss_clean($str, $charset = 'ISO-8859-1')
+	function xss_clean($str, $is_image = FALSE)
 	{
 		$CI =& get_instance();
-		return $CI->input->xss_clean($str, $charset);
+		return $CI->input->xss_clean($str, $is_image);
 	}
 }
 
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 1992ebb..7a26cb3 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -127,6 +127,7 @@
 	<li>Fixed a bug in the Text Helper character limiter where the provided limit intersects the last word of the string.</li>
 	<li>Fixed a bug (#6342) with plural() in the Inflection helper with words ending in "y".</li>
 	<li>Fixed bug (#6517) where Routed URI segments returned by URI::rsegment() method were incorrect for the default controller.</li>
+	<li>Fixed a bug (#6706) in the Security Helper where xss_clean() was using a deprecated second argument.</li>
 	<li>Tweaked Typography::auto_typography() for some edge-cases.</li>
 </ul>