Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1533)
+++ branches/2.8.x/CHANGELOG	(revision 1534)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 =========================== add small Features 2.8.2 ==========================
+08 Dez-2011 Build 1534 Werner v.d.Decken(DarkViper)
+# /output_filter/filter-routines.php rel-URL Filter fixed for mailto-links
 08 Dez-2011 Build 1533 Dietmar Woellbrink (Luisehahne)
 + new backend theme handling (Tks to Stefek)
 # some fixes in install
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1533)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1534)
@@ -52,5 +52,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', '1533');
+if(!defined('REVISION')) define('REVISION', '1534');
 if(!defined('SP')) define('SP', 'SP2');
Index: branches/2.8.x/wb/modules/output_filter/filter-routines.php
===================================================================
--- branches/2.8.x/wb/modules/output_filter/filter-routines.php	(revision 1533)
+++ branches/2.8.x/wb/modules/output_filter/filter-routines.php	(revision 1534)
@@ -89,15 +89,15 @@
 				create_function('$matches',
 				    '$retval = $matches[0]; '.
 		            '$h = parse_url($matches[2], PHP_URL_HOST); '.
-		            'if(stripos(WB_URL, $h) !== false) { '.
-		            '$a = parse_url($matches[2]); '.
-		            '$p = (isset($a[\'path\']) ? $a[\'path\'] : \'\'); '.
-		            '$q = (isset($a[\'query\']) ? \'?\'.$a[\'query\'] : \'\'); '.
-		            '$f = (isset($a[\'fragment\']) ? \'#\'.$a[\'fragment\'] : \'\'); '.
-		            '$p .= ($q.$f); '.
-		            '$retval = $matches[1]."/".(isset($p) ? ltrim(str_replace("//", "/", $p), "/") : "").$matches[3]; '.
-		            '} '.
-		            'return $retval;'),
+					'if(isset($h) && $h != \'\') { '.
+					'if(stripos(WB_URL, $h) !== false) { '.
+					'$a = parse_url($matches[2]); '.
+					'$p = (isset($a[\'path\']) ? $a[\'path\'] : \'\'); '.
+					'$q = (isset($a[\'query\']) ? \'?\'.$a[\'query\'] : \'\'); '.
+					'$f = (isset($a[\'fragment\']) ? \'#\'.$a[\'fragment\'] : \'\'); '.
+					'$p .= ($q.$f); '.
+					'$retval = $matches[1]."/".(isset($p) ? ltrim(str_replace("//", "/", $p), "/") : "").$matches[3]; '.
+					'}} return $retval;'),
 		        $content);
 		return $content;
 	}
