Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1596)
+++ branches/2.8.x/CHANGELOG	(revision 1597)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 =========================== add small Features 2.8.2 ==========================
+05 Feb-2012 Build 1597 Dietmar Woellbrink (Luisehahne)
+# fixed issues with get_magic_quotes_gpc and FCKeditor
 04 Feb-2012 Build 1596 Dietmar Woellbrink (Luisehahne)
 # highly critical security-fix
 # announced on http://www.darksecurity.de/advisories/2012/SSCHADV2012-003.txt
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1596)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1597)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1596');
+if(!defined('REVISION')) define('REVISION', '1597');
 if(!defined('SP')) define('SP', 'SP2');
Index: branches/2.8.x/wb/modules/wysiwyg/save.php
===================================================================
--- branches/2.8.x/wb/modules/wysiwyg/save.php	(revision 1596)
+++ branches/2.8.x/wb/modules/wysiwyg/save.php	(revision 1597)
@@ -47,8 +47,8 @@
 	$searchfor = '@(<[^>]*=\s*")('.preg_quote($sMediaUrl).')([^">]*".*>)@siU';
     $content = preg_replace($searchfor, '$1{SYSVAR:MEDIA_REL}$3', $content);
 	// searching in $text will be much easier this way
-	$text = umlauts_to_entities(strip_tags($content), strtoupper(DEFAULT_CHARSET), 0);
-    $content = $admin->add_slashes($content);
+    $content = addslashes($content);
+	$text = umlauts_to_entities($content, strtoupper(DEFAULT_CHARSET), 0);
 	$sql  = 'UPDATE `'.TABLE_PREFIX.'mod_wysiwyg` ';
 	$sql .= 'SET `content`=\''.$content.'\', `text`=\''.$text.'\' ';
 	$sql .= 'WHERE `section_id`='.(int)$section_id;
