From 5acd64e4298bee113f4558fb849991b8a4197d69 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 16 Jun 2006 04:53:52 +0000 Subject: [PATCH] further improved the detection of "real" links --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }