Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.204 -r1.205 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 10 Feb 2008 13:20:22 -0000 1.204 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 25 Feb 2008 11:16:01 -0000 1.205 @@ -753,8 +753,10 @@ set link_type language } else { # do we have a typed link? more than two chars... - if {![regexp {^([^:][^:][^:]+):((..):)?(.+)$} $link _ \ + if {[regexp {^([^:][^:][^:]+):((..):)?(.+)$} $link _ \ link_type _ lang stripped_name]} { + set name file:$stripped_name + } else { # must be an untyped link; defaults, in case the second regexp does not match either set lang "" set stripped_name $link