diff --git a/index.cgi b/index.cgi index 7ed56b0b..20f66c1f 100755 --- a/index.cgi +++ b/index.cgi @@ -62,7 +62,7 @@ elsif ($gconfig{"notabs_${base_remote_user}"} == 2 || if ($pos % $cols == 0) { print "\n"; } print "\n"; local $idx = $m->{'index_link'}; - my $alink = &urlize("$gconfig{'webprefix'}/$m->{'dir'}/$idx"); + my $alink = "$gconfig{'webprefix'}/@{[&urlize($m->{'dir'})]}/$idx"; print "
", "{'dir'}/images/icon.gif border=0 ", "width=48 height=48>
\n"; @@ -148,7 +148,7 @@ else { if ($pos % $cols == 0) { print "\n"; } print "\n"; - my $mlink = &urlize("$gconfig{'webprefix'}/$m->{'dir'}/"); + my $mlink = "$gconfig{'webprefix'}/@{[&urlize($m->{'dir'})]}/"; print "
", "{'dir'}/images/icon.gif alt=\"\" border=0>", "
\n";