fix for Nathan to allow again ':' in the links

This commit is contained in:
Ralf Becker 2006-10-31 16:50:39 +00:00
parent 3e6921d5b9
commit 45fa4d0c1c

View File

@ -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";
}