From 45fa4d0c1cb2bcb71ed6fb86967c1833871a4fe9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 31 Oct 2006 16:50:39 +0000 Subject: [PATCH] fix for Nathan to allow again ':' in the 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 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"; }