Well, it worked with dokuwiki-2005-02-18, here is what i've tried:
[[ftp://host]]
-> the link is:
ftp://ftp://host
[[ftp://
user@host.de]]
-> the link becomes a mailto:ftp://user@host
user@host.de">
ftp://
user@host.de
-> the link becomes
ftp://ftp://user@host
[[ftp://user@host]]
-> the link is:
ftp://ftp://host
Well, removing this double 'ftp://' could be done by changing line 494 of xhtml.php to:
if( (substr($url,0,3) == 'ftp') &&
(substr($url,0,6) != 'ftp://')) $url = 'ftp://'.$url;
This email-thing is (maybe) just something like a wrong pattern.