--- class.browse_links.php.bak 2007-04-10 12:42:28.000000000 +0200 +++ class.browse_links.php 2007-04-10 13:14:57.000000000 +0200 @@ -795,6 +795,15 @@ 'target' => $currentLinkParts[1] ); $this->curUrlInfo=$this->parseCurUrl($this->siteURL.'?id='.$currentLinkParts[0],$this->siteURL); + if ($this->curUrlInfo['pageid']==0) { + if (@file_exists(PATH_site.rawurldecode($currentLinkParts[0]))) { + $this->curUrlInfo = $this->parseCurUrl($this->siteURL.$currentLinkParts[0],$this->siteURL); + } elseif (strstr($currentLinkParts[0],'@')) { + $this->curUrlInfo = $this->parseCurUrl('mailto:'.$currentLinkParts[0],$this->siteURL); + } else { + $this->curUrlInfo = $this->parseCurUrl($currentLinkParts[0],$this->siteURL); + } + } } else { $this->curUrlArray = t3lib_div::_GP('curUrl'); if ($this->curUrlArray['all']) {