Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -r1.79 -r1.80 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 3 Aug 2007 07:41:51 -0000 1.79 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 9 Aug 2007 21:33:56 -0000 1.80 @@ -429,11 +429,12 @@ Package instforward check_permissions {%my set policy} %proc Package instproc get_name_and_lang_from_path {path vlang vlocal_name} { + my log path=$path my upvar $vlang lang $vlocal_name local_name if {[regexp {^pages/(..)/(.*)$} $path _ lang local_name]} { } elseif {[regexp {^(..)/(.*)$} $path _ lang local_name]} { } elseif {[regexp {^(..):(.*)$} $path _ lang local_name]} { - } elseif {[regexp {^(file|image|download)/(.*)$} $path _ lang local_name]} { + } elseif {[regexp {^(file|image|swf|download)/(.*)$} $path _ lang local_name]} { } else { set key queryparm(lang) if {[info exists $key]} {