diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index a45b3e1d77..b86884bc3d 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -973,7 +973,7 @@ class html $vars = $url; $url = '/index.php'; } - elseif (!strstr($url,'/') && count(explode('.',$url)) >= 3 && !strstr($url,':')) + elseif (!strstr($url,'/') && count(explode('.',$url)) >= 3 && !(strstr($url,'mailto:') || strstr($url,'://'))) { $url = "/index.php?menuaction=$url"; }