further improved the detection of "real" links

This commit is contained in:
Ralf Becker 2006-06-16 04:53:52 +00:00
parent 946efce9a1
commit 5acd64e429

View File

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