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